From b182cb5818efc491e2f5088e56093bdd2ae4864b Mon Sep 17 00:00:00 2001 From: alex-ds13 <145657253+alex-ds13@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:29:11 +0100 Subject: [PATCH] fix(wm): show floating apps in front of stacked windows as well --- komorebi/src/window_manager.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/komorebi/src/window_manager.rs b/komorebi/src/window_manager.rs index 6cfb3205..4631ea7c 100644 --- a/komorebi/src/window_manager.rs +++ b/komorebi/src/window_manager.rs @@ -871,6 +871,8 @@ impl WindowManager { && self.focused_workspace()?.maximized_window().is_none() // and we don't have a monocle container && self.focused_workspace()?.monocle_container().is_none() + // and we don't have any floating windows that should show on top + && self.focused_workspace()?.floating_windows().is_empty() { if let Ok(window) = self.focused_window_mut() { if trigger_focus {