]> Dogcows Code - chaz/openbox/commitdiff
when windows disappear dont move focus from enter event, ever.
authorDana Jansens <danakj@orodu.net>
Thu, 26 Apr 2007 02:21:27 +0000 (02:21 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 26 Apr 2007 02:21:27 +0000 (02:21 +0000)
openbox/client.c

index 4b8e621b486acea3cf82a6389ac6b659371916d3..4f71c7fbcd0958fb6f0d6476b2b81f351427d030 100644 (file)
@@ -483,11 +483,8 @@ void client_unmanage(ObClient *self)
     /* flush to send the hide to the server quickly */
     XFlush(ob_display);
 
-    if (focus_client == self) {
-        /* ignore enter events from the unmap so it doesnt mess with the focus
-         */
-        event_ignore_queued_enters();
-    }
+    /* ignore enter events from the unmap so it doesnt mess with the focus */
+    event_ignore_queued_enters();
 
     mouse_grab_for_client(self, FALSE);
 
This page took 0.026095 seconds and 4 git commands to generate.