From: Dana Jansens Date: Sun, 22 Apr 2007 03:02:13 +0000 (+0000) Subject: stop delayed focusing when falling back X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=73b490f614e4dda2849274ca75ab09325a71362e;p=chaz%2Fopenbox stop delayed focusing when falling back --- 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); }