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:
alex-ds13
2025-01-23 17:51:40 +00:00
committed by LGUG2Z
parent d8636d651d
commit b42fcbe509

View File

@@ -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);
}