i3-companion: ignore sticky when not floating

This commit is contained in:
Vincent Bernat 2024-03-19 13:27:23 +01:00
parent a6899479c3
commit a0ce4d2894

View file

@ -518,7 +518,7 @@ async def workspace_exclusive(i3, event):
if w.id != ow.id if w.id != ow.id
and (w.window_class or object()) != ow.window_class and (w.window_class or object()) != ow.window_class
and (ow.window_class or "").lower() in exclusive_apps and (ow.window_class or "").lower() in exclusive_apps
and not ow.sticky and not (ow.sticky and ow.floating in {"auto_on", "user_on"})
} }
# If current one is OK, don't move # If current one is OK, don't move