]> Dogcows Code - chaz/openbox/commitdiff
only sopt moveresize when shutting down
authorDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 07:35:24 +0000 (07:35 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 07:35:24 +0000 (07:35 +0000)
openbox/moveresize.c

index abab8710aa278a93312561158b448f62edbacd00..447869aa29435a56399042cc501f49ba6b7a3430 100644 (file)
@@ -44,11 +44,11 @@ void moveresize_startup(gboolean reconfig)
 
 void moveresize_shutdown(gboolean reconfig)
 {
-    if (moveresize_in_progress)
-        moveresize_end(FALSE);
-
-    if (!reconfig)
+    if (!reconfig) {
+        if (moveresize_in_progress)
+            moveresize_end(FALSE);
         client_remove_destructor(client_dest);
+    }
 
     popup_free(popup);
     popup = NULL;
This page took 0.025242 seconds and 4 git commands to generate.