When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too.
This commit is contained in:
parent
fa085b7338
commit
d5dc910d6d
1 changed files with 2 additions and 0 deletions
|
@ -1859,6 +1859,8 @@ static void focus_delay_client_dest(ObClient *client, gpointer data)
|
||||||
|
|
||||||
void event_halt_focus_delay()
|
void event_halt_focus_delay()
|
||||||
{
|
{
|
||||||
|
/* ignore all enter events up till now */
|
||||||
|
event_end_ignore_all_enters(1);
|
||||||
ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func);
|
ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue