]> Dogcows Code - chaz/openbox/commitdiff
stop delayed focusing when falling back
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 03:02:13 +0000 (03:02 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 03:02:13 +0000 (03:02 +0000)
openbox/focus.c

index 197948e98c286c619a01cbd24036d16d45aac0d3..32a715ef6fbe1090361c3cf283c33bee9ec34d9a 100644 (file)
@@ -282,6 +282,9 @@ void focus_fallback(gboolean allow_refocus)
     */
     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)))
         client_focus(new);
 }
This page took 0.024636 seconds and 4 git commands to generate.