summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-18 06:29:28 +0000
committerDana Jansens <danakj@orodu.net>2003-04-18 06:29:28 +0000
commitf8056d9c28434511073f8bea56d37b87e2fd3fc9 (patch)
tree322edbd21d2ceec8a0c3f51795a3f9a41a0e2fae /openbox
parentbf14853e55c97d35be0a311b04617d15c8f9b2c0 (diff)
unset it AFTER using it...
Diffstat (limited to 'openbox')
-rw-r--r--openbox/moveresize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 206d9752..edb713db 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -130,9 +130,6 @@ void moveresize_end(gboolean cancel)
XDestroyWindow(ob_display, coords);
coords = None;
- moveresize_in_progress = FALSE;
- moveresize_client = NULL;
-
if (moving) {
client_configure(moveresize_client, Corner_TopLeft,
(cancel ? start_cx : cur_x),
@@ -145,6 +142,9 @@ void moveresize_end(gboolean cancel)
(cancel ? start_cw : cur_x),
(cancel ? start_ch : cur_y), TRUE, TRUE);
}
+
+ moveresize_in_progress = FALSE;
+ moveresize_client = NULL;
}
static void do_move()