hyprland/ipc: fix activeToplevel not resetting after closewindow
This commit is contained in:
parent
ed036d514b
commit
e9bad67619
2 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ set shell id.
|
|||
- Fixed volume control breaking with pipewire pro audio mode.
|
||||
- Fixed escape sequence handling in desktop entries.
|
||||
- Fixed volumes not initializing if a pipewire device was already loaded before its node.
|
||||
- Fixed hyprland active toplevel not resetting after window closes.
|
||||
|
||||
## Packaging Changes
|
||||
|
||||
|
|
|
|||
|
|
@ -484,6 +484,7 @@ void HyprlandIpc::onEvent(HyprlandIpcEvent* event) {
|
|||
}
|
||||
|
||||
auto* toplevel = *toplevelIter;
|
||||
if (toplevel == this->bActiveToplevel.value()) this->bActiveToplevel = nullptr;
|
||||
auto index = toplevelIter - mList.begin();
|
||||
this->mToplevels.removeAt(index);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue