From 04c16882fa4ef3576700c705e8e5a2c115960e2c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 30 Jan 2003 22:15:46 +0000 Subject: [PATCH] focus windows on all desktops too --- scripts/focus.py | 5 +++-- 1 file 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 -- 2.39.2