summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-26 21:11:50 +0000
committerDana Jansens <danakj@orodu.net>2003-04-26 21:11:50 +0000
commit04d6bf1e60beef09fb9c5665a9c010a340519afd (patch)
tree75cc421d12577b954c25beda1eab0b9aabb32d4f /openbox
parentfd89a7eadc4caf62ef5ce4b8ce96216a1b506c5a (diff)
show the move coords for where the window will actually be
Diffstat (limited to 'openbox')
-rw-r--r--openbox/moveresize.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index edb713db..08d96ad6 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -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()