mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-10 07:02:44 +02:00
fix(wm): show floating apps in front of stacked windows as well
This commit is contained in:
@@ -871,6 +871,8 @@ impl WindowManager {
|
|||||||
&& self.focused_workspace()?.maximized_window().is_none()
|
&& self.focused_workspace()?.maximized_window().is_none()
|
||||||
// and we don't have a monocle container
|
// and we don't have a monocle container
|
||||||
&& self.focused_workspace()?.monocle_container().is_none()
|
&& 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 let Ok(window) = self.focused_window_mut() {
|
||||||
if trigger_focus {
|
if trigger_focus {
|
||||||
|
|||||||
Reference in New Issue
Block a user