mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Unhide all nodes on layout disable
Fixes all tabbed nodes disappearing on update / layout switch
This commit is contained in:
parent
cb90e44c1d
commit
56de6b5c48
1 changed files with 7 additions and 0 deletions
|
@ -1338,6 +1338,13 @@ void Hy3Layout::onDisable() {
|
|||
HyprlandAPI::unregisterCallback(PHANDLE, urgentHookPtr.get());
|
||||
HyprlandAPI::unregisterCallback(PHANDLE, tickHookPtr.get());
|
||||
selection_hook::disable();
|
||||
|
||||
for (auto& node: this->nodes) {
|
||||
if (node.data.type == Hy3NodeData::Window) {
|
||||
node.data.as_window->setHidden(false);
|
||||
}
|
||||
}
|
||||
|
||||
this->nodes.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue