diff --git a/komorebi/src/process_event.rs b/komorebi/src/process_event.rs index e0de3c05..c2c2660f 100644 --- a/komorebi/src/process_event.rs +++ b/komorebi/src/process_event.rs @@ -709,6 +709,20 @@ impl WindowManager { 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); + } + } } }