stop delayed focusing when falling back
This commit is contained in:
parent
57ffea1123
commit
73b490f614
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,9 @@ void focus_fallback(gboolean allow_refocus)
|
||||||
*/
|
*/
|
||||||
focus_set_client(NULL);
|
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)))
|
if ((new = focus_fallback_target(allow_refocus, old)))
|
||||||
client_focus(new);
|
client_focus(new);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue