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); }