From f8056d9c28434511073f8bea56d37b87e2fd3fc9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 18 Apr 2003 06:29:28 +0000 Subject: [PATCH] unset it AFTER using it... --- openbox/moveresize.c | 6 +++--- 1 file 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() -- 2.39.2