mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-20 08:34:04 +01:00
fix(wm): hide/restore floating windows on monocle toggle
This commit is contained in:
@@ -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