stop delayed focusing when falling back

This commit is contained in:
Dana Jansens 2007-04-22 03:02:13 +00:00
parent 57ffea1123
commit 73b490f614

View file

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