mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-01 06:53:15 +02:00
fix(wm): restore orphaned containers
When a monitor was disconnected the containers from the removed monitor were being moved to the primary monitor. However they weren't restored so containers that were on an unfocused workspace of the removed monitor would have been cloak and were getting added to the main monitor still cloaked creating ghost tiles. This commit fixes that.
This commit is contained in:
@@ -337,6 +337,7 @@ pub fn handle_notifications(wm: Arc<Mutex<WindowManager>>) -> color_eyre::Result
|
||||
|
||||
// Put the orphaned containers somewhere visible
|
||||
for container in orphaned_containers {
|
||||
container.restore();
|
||||
focused_ws.add_container_to_back(container);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user