diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-10 09:47:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-10 09:47:43 +0000 |
| commit | 1baea880f4cf18d22bf44b0ea66ff8ad18a7aca7 (patch) | |
| tree | 0cccf2c2ee9946942fd16cb7a594304f94c3f677 | |
| parent | 05039de135846b69f2ef0741b03afb63318f31ac (diff) | |
dont use a global var
| -rw-r--r-- | scripts/builtins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/builtins.py b/scripts/builtins.py index 4204d315..16a16421 100644 --- a/scripts/builtins.py +++ b/scripts/builtins.py @@ -269,12 +269,12 @@ def setup_scroll(): mbind("C-A-4", MC_Frame, MouseClick, send_to_next_desktop) mbind("C-A-5", MC_Frame, MouseClick, send_to_prev_desktop) -focus_stack = [] def setup_fallback_focus(): """Sets up a focus fallback routine so that when no windows are focused, the last window on the desktop that had focus will be focused.""" + focus_stack = [] def focused(data): - global focus_stack + #global focus_stack if data.client: window = data.client.window() # add to front the stack |
