]> Dogcows Code - chaz/openbox/commitdiff
unset it AFTER using it...
authorDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 06:29:28 +0000 (06:29 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 06:29:28 +0000 (06:29 +0000)
openbox/moveresize.c

index 206d975296957a38390a6e43c1e24fdbf5cd15ff..edb713db188c740ef72664c631b2241725ed7aba 100644 (file)
@@ -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()
This page took 0.026871 seconds and 4 git commands to generate.