]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
fix iconify action to fallback focus correctly
[chaz/openbox] / openbox / client.c
index a1e7282f310be8e2b5c51f5144970b09d26de53d..4e314602f052ef0a3f5fccaf764d883dfbc2b5f2 100644 (file)
@@ -358,6 +358,9 @@ void client_manage(Window window)
             client_move(self, x, y);
     }
 
+    keyboard_grab_for_client(self, TRUE);
+    mouse_grab_for_client(self, TRUE);
+
     client_showhide(self);
 
     /* use client_focus instead of client_activate cuz client_activate does
@@ -392,9 +395,6 @@ void client_manage(Window window)
     /* update the list hints */
     client_set_list();
 
-    keyboard_grab_for_client(self, TRUE);
-    mouse_grab_for_client(self, TRUE);
-
     ob_debug("Managed window 0x%lx (%s)\n", window, self->class);
 }
 
@@ -3324,7 +3324,7 @@ gint client_directional_edge_search(ObClient *c, ObDirection dir)
         /* not implemented */
     default:
         g_assert_not_reached();
-       dest = 0; /* suppress warning */
+        dest = 0; /* suppress warning */
     }
     return dest;
 }
This page took 0.026452 seconds and 4 git commands to generate.