]> Dogcows Code - chaz/openbox/commitdiff
focus windows on all desktops too
authorDana Jansens <danakj@orodu.net>
Thu, 30 Jan 2003 22:15:46 +0000 (22:15 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 30 Jan 2003 22:15:46 +0000 (22:15 +0000)
scripts/focus.py

index 00e53cbc33665144828bee2a9071484ef28f5654..feb65cca8f29c692065a500428b3da6cf6c88ed7 100644 (file)
@@ -121,8 +121,9 @@ def _do_stacked_cycle(data, forward):
     desktop = ob.openbox.screen(data.screen).desktop()
     for w in clients:
         client = ob.openbox.findClient(w)
-        if client and (client.desktop() == desktop and \
-                       client.normal() and client.focus()):
+        if client and (client.desktop() == desktop or
+                       client.desktop() == 0xffffffff) \
+                       and client.normal() and client.focus():
             if stacked_cycle_raise:
                 ob.openbox.screen(data.screen).raiseWindow(client)
             return
This page took 0.025898 seconds and 4 git commands to generate.