mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-24 10:21:21 +01:00
fix(wm): hide/restore floating windows on monocle toggle
This commit is contained in:
@@ -2843,6 +2843,10 @@ impl WindowManager {
|
||||
container.hide(None);
|
||||
}
|
||||
|
||||
for window in workspace.floating_windows_mut() {
|
||||
window.hide();
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -2856,6 +2860,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