When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too.

This commit is contained in:
Dana Jansens 2007-08-05 12:13:41 -04:00
parent fa085b7338
commit d5dc910d6d

View file

@ -1859,6 +1859,8 @@ static void focus_delay_client_dest(ObClient *client, gpointer data)
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);
}