From 1baea880f4cf18d22bf44b0ea66ff8ad18a7aca7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 10 Jan 2003 09:47:43 +0000 Subject: [PATCH] dont use a global var --- scripts/builtins.py | 4 ++-- 1 file 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 -- 2.45.2