]> Dogcows Code - chaz/openbox/commitdiff
use the current size not the start size for moving
authorDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 17:13:57 +0000 (17:13 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 17:13:57 +0000 (17:13 +0000)
openbox/moveresize.c

index 0abb8e8d5a8d53fbda25ec1122653b464bfabc28..1c31a2532d210686dc8eba4a190c1453e24bba85 100644 (file)
@@ -171,7 +171,8 @@ static void do_move(gboolean resist)
     /* get where the client should be */
     frame_frame_gravity(moveresize_client->frame, &cur_x, &cur_y);
     client_configure(moveresize_client, OB_CORNER_TOPLEFT, cur_x, cur_y,
-                     start_cw, start_ch, TRUE, FALSE);
+                     moveresize_client->area.width,
+                     moveresize_client->area.height, TRUE, FALSE);
 }
 
 static void do_resize(gboolean resist)
This page took 0.02356 seconds and 4 git commands to generate.