]> Dogcows Code - chaz/openbox/commitdiff
show the move coords for where the window will actually be
authorDana Jansens <danakj@orodu.net>
Sat, 26 Apr 2003 21:11:50 +0000 (21:11 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Apr 2003 21:11:50 +0000 (21:11 +0000)
openbox/moveresize.c

index edb713db188c740ef72664c631b2241725ed7aba..08d96ad61d7251e984f86105cf1564ffc6d14d13 100644 (file)
@@ -151,12 +151,13 @@ static void do_move()
 {
     dispatch_move(moveresize_client, &cur_x, &cur_y);
 
-    popup_coords("X:  %d  Y:  %d", cur_x, cur_y);
-
     /* get where the client should be */
     frame_frame_gravity(moveresize_client->frame, &cur_x, &cur_y);
     client_configure(moveresize_client, Corner_TopLeft, cur_x, cur_y,
                      start_cw, start_ch, TRUE, FALSE);
+
+    popup_coords("X:  %d  Y:  %d", moveresize_client->frame->area.x,
+                 moveresize_client->frame->area.y);
 }
 
 static void do_resize()
This page took 0.028055 seconds and 4 git commands to generate.