diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-30 22:15:46 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-30 22:15:46 +0000 |
| commit | 04c16882fa4ef3576700c705e8e5a2c115960e2c (patch) | |
| tree | 2b7a24e733fc33f097413741668756660a8180a9 /scripts/focus.py | |
| parent | a0389d0cd6da44e8efba9910b59eea1cf65b48ca (diff) | |
focus windows on all desktops too
Diffstat (limited to 'scripts/focus.py')
| -rw-r--r-- | scripts/focus.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/focus.py b/scripts/focus.py index 00e53cbc..feb65cca 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -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 |
