X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Ffocus.c;h=32a715ef6fbe1090361c3cf283c33bee9ec34d9a;hb=73b490f614e4dda2849274ca75ab09325a71362e;hp=197948e98c286c619a01cbd24036d16d45aac0d3;hpb=57ffea1123d87a6d5b0ae92b4f4715222d2a1d23;p=chaz%2Fopenbox 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); }