]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
move the resistance plugin into the kernel. dont resist when move/resizing with the...
[chaz/openbox] / openbox / focus.c
index 1642261dac685967365b8aaf3889c79980498436..9949dea3a68fb337ad79a025e75b5985450d45ed 100644 (file)
@@ -262,7 +262,7 @@ static void popup_cycle(ObClient *c, gboolean show)
 }
 
 ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done,
-                    gboolean cancel)
+                      gboolean cancel)
 {
     static ObClient *first = NULL;
     static ObClient *t = NULL;
@@ -281,8 +281,6 @@ ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done,
             client_activate(focus_cycle_target);
         goto done_cycle;
     }
-    if (!first)
-        grab_pointer(TRUE, None);
 
     if (!first) first = focus_client;
     if (!focus_cycle_target) focus_cycle_target = focus_client;
@@ -331,7 +329,6 @@ done_cycle:
     order = NULL;
 
     popup_cycle(ft, FALSE);
-    grab_pointer(FALSE, None);
 
     return NULL;
 }
This page took 0.020233 seconds and 4 git commands to generate.