From 73b490f614e4dda2849274ca75ab09325a71362e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 22 Apr 2007 03:02:13 +0000 Subject: [PATCH] stop delayed focusing when falling back --- openbox/focus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/focus.c b/openbox/focus.c index 197948e9..32a715ef 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -282,6 +282,9 @@ void focus_fallback(gboolean allow_refocus) */ focus_set_client(NULL); + /* If some delayed focusing is going on, cancel it */ + event_halt_focus_delay(); + if ((new = focus_fallback_target(allow_refocus, old))) client_focus(new); } -- 2.39.2