mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
fix(wm): hide/restore floating windows on monocle toggle
This commit is contained in:
1 parent
3641ce6b42
commit
13ee42276d
1 file changed
+8
@@ -2845,6 +2845,10 @@ impl WindowManager {
|
||||
container.hide(None);
|
||||
}
|
||||
|
||||
for window in workspace.floating_windows_mut() {
|
||||
window.hide();
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -2858,6 +2862,10 @@ impl WindowManager {
|
||||
container.restore();
|
||||
}
|
||||
|
||||
for window in workspace.floating_windows_mut() {
|
||||
window.restore();
|
||||
}
|
||||
|
||||
workspace.reintegrate_monocle_container()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user