diff --git a/komorebi/src/windows_api.rs b/komorebi/src/windows_api.rs index 48a148b7..ba46d92e 100644 --- a/komorebi/src/windows_api.rs +++ b/komorebi/src/windows_api.rs @@ -357,7 +357,7 @@ impl WindowsApi { bottom: layout.bottom + shadow_rect.bottom, }; - let position = if top { HWND_TOP } else { HWND_BOTTOM }; + let position = if top { HWND_TOP } else { HWND_NOTOPMOST }; Self::set_window_pos(hwnd, &rect, position, flags.bits()) }