i3-companion: fix detection of intrusive apps

This commit is contained in:
Vincent Bernat 2021-08-09 16:18:28 +02:00
parent 33b63b8eeb
commit e91e96c77b

View file

@ -420,7 +420,7 @@ async def workspace_exclusive(i3, event):
w = event.container w = event.container
# Can the current window intrude the workspace? # Can the current window intrude the workspace?
if w.floating in {"auto_on", "user_on"} or w.window_class.lower in intrusive_apps: if w.floating in {"auto_on", "user_on"} or w.window_class.lower() in intrusive_apps:
logger.debug("window %s can intrude", w.window_class) logger.debug("window %s can intrude", w.window_class)
return return