]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
add resizerelative action
[chaz/openbox] / openbox / moveresize.c
index 69dc18ba1075f5d3d83bb61c81383fb2de9f29e3..01cbb795aeff70e134aa696d64f1360e356899e2 100644 (file)
@@ -105,7 +105,7 @@ static void get_resize_position(gint *x, gint *y, gboolean cancel)
     /* see how much it is actually going to resize */
     {
         gint cx = *x, cy = *y;
-        frame_frame_gravity(moveresize_client->frame, &cx, &cy, w, h);
+        frame_frame_gravity(moveresize_client->frame, &cx, &cy);
         client_try_configure(moveresize_client, &cx, &cy, &w, &h,
                              &lw, &lh, TRUE);
     }
@@ -127,7 +127,7 @@ static void get_resize_position(gint *x, gint *y, gboolean cancel)
         break;
     }
 
-    frame_frame_gravity(moveresize_client->frame, x, y, w, h);
+    frame_frame_gravity(moveresize_client->frame, x, y);
 }
 
 static void popup_coords(ObClient *c, const gchar *format, gint a, gint b)
This page took 0.020731 seconds and 4 git commands to generate.