]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.
[chaz/openbox] / openbox / action.c
index 8c8064f89a21ab86acc5f145efbcdb6f981e9558..cb703a66e32a791c470f062ceb8199a69eec81fa 100644 (file)
@@ -42,7 +42,7 @@ inline void client_action_start(union ActionData *data)
 {
     if (config_focus_follow)
         if (data->any.context != OB_FRAME_CONTEXT_CLIENT && !data->any.button)
-            grab_pointer(TRUE, FALSE, OB_CURSOR_NONE);
+            grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
 }
 
 inline void client_action_end(union ActionData *data)
@@ -50,7 +50,7 @@ inline void client_action_end(union ActionData *data)
     if (config_focus_follow)
         if (data->any.context != OB_FRAME_CONTEXT_CLIENT) {
             if (!data->any.button) {
-                grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
+                ungrab_pointer();
             } else {
                 ObClient *c;
 
This page took 0.029205 seconds and 4 git commands to generate.