From: Dana Jansens Date: Thu, 30 Jan 2003 22:15:46 +0000 (+0000) Subject: focus windows on all desktops too X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=04c16882fa4ef3576700c705e8e5a2c115960e2c;p=chaz%2Fopenbox focus windows on all desktops too --- 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