X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=scripts%2Fbuiltins.py;h=93f7b8db0c43d3a6e07a0b188302a4248eddcdf5;hb=8d52c2b11466ad672435a0478135ef7d481fabb1;hp=4204d315be609d22fddb6cd2a7ce601c7f56f3eb;hpb=05039de135846b69f2ef0741b03afb63318f31ac;p=chaz%2Fopenbox diff --git a/scripts/builtins.py b/scripts/builtins.py index 4204d315..93f7b8db 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.""" + the last window to have focus on the desktop 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