X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Ffocuscycle.py;h=37d5643f265988fc8f20bbe939a1f7092e610c5d;hb=ee9eaed6cd48db249711912133758679a029b5b1;hp=36354af2b8ca8a86c167ee2c8b65d961af288de5;hpb=8a05ae261d640df3844fdae942556793c62bd073;p=chaz%2Fopenbox diff --git a/scripts/focuscycle.py b/scripts/focuscycle.py index 36354af2..37d5643f 100644 --- a/scripts/focuscycle.py +++ b/scripts/focuscycle.py @@ -5,10 +5,10 @@ ########################################################################### ### Options that affect the behavior of the focuscycle module. ### ########################################################################### -raise_window = 1 +RAISE_WINDOW = 1 """When cycling focus, raise the window chosen as well as focusing it. This does not affect fallback focusing behavior.""" -# See focus.avoid_skip_taskbar +# See focus.AVOID_SKIP_TASKBAR ########################################################################### def next(data, num=1): @@ -58,7 +58,7 @@ def _cycle(data, num, forward): while 1: client = screen.client(t) if client and focus._focusable(client, desktop) and client.focus(): - if raise_window: + if RAISE_WINDOW: screen.raiseWindow(client) return if forward: