From 220b5c40f91c6509951ccd0d506a9bd77d9d6bac Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 4 Feb 2003 11:03:57 +0000 Subject: make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible. --- scripts/focuscycle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/focuscycle.py') diff --git a/scripts/focuscycle.py b/scripts/focuscycle.py index 36354af2..770bbfb3 100644 --- a/scripts/focuscycle.py +++ b/scripts/focuscycle.py @@ -5,7 +5,7 @@ ########################################################################### ### 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 @@ -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: -- cgit v1.2.3