fix(wm): show floating apps in front of stacked windows as well

This commit is contained in:
alex-ds13
2024-10-07 10:29:11 +01:00
parent 221e4ea545
commit b182cb5818

View File

@@ -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 {