]> Dogcows Code - chaz/openbox/commitdiff
When halting focus-follows-mouse, ignore any enter events that were generated before...
authorDana Jansens <danakj@orodu.net>
Sun, 5 Aug 2007 16:13:41 +0000 (12:13 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 5 Aug 2007 16:13:41 +0000 (12:13 -0400)
openbox/event.c

index 9c47c04a3a49e42290a94bfea25dd6ba4adb122c..eb6786501a7adc078fee3102661f6d3c075f0c47 100644 (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);
 }
 
This page took 0.023979 seconds and 4 git commands to generate.