mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-08 14:05:10 +02:00
fix(wm): track all hwnds in known_hwnds
This commit is contained in:
@@ -709,6 +709,20 @@ impl WindowManager {
|
|||||||
known_hwnds.push(window.hwnd);
|
known_hwnds.push(window.hwnd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for window in workspace.floating_windows() {
|
||||||
|
known_hwnds.push(window.hwnd);
|
||||||
|
}
|
||||||
|
|
||||||
|
if let Some(window) = workspace.maximized_window() {
|
||||||
|
known_hwnds.push(window.hwnd);
|
||||||
|
}
|
||||||
|
|
||||||
|
if let Some(container) = workspace.monocle_container() {
|
||||||
|
for window in container.windows() {
|
||||||
|
known_hwnds.push(window.hwnd);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user