From: Dana Jansens Date: Sun, 5 Aug 2007 16:13:41 +0000 (-0400) Subject: When halting focus-follows-mouse, ignore any enter events that were generated before... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=d5dc910d6dc4ca3ef0e808a18dbe91b6098266cf;p=chaz%2Fopenbox When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too. --- diff --git a/openbox/event.c b/openbox/event.c index 9c47c04a..eb678650 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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); }