]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
remove all the startup notification code from screen.c
[chaz/openbox] / openbox / moveresize.c
index 95e595872476af8dea1e0ae208d2257aae7356cc..722146aa9883420b8fbad0fab88baa465e6e59f2 100644 (file)
@@ -28,22 +28,24 @@ static ObCorner lockcorner;
 
 static Popup *popup = NULL;
 
-static void client_dest(ObClient *c)
+static void client_dest(gpointer client)
 {
-    if (moveresize_client == c)
+    if (moveresize_client == client)
         moveresize_end(TRUE);    
 }
 
-void moveresize_startup()
+void moveresize_startup(gboolean reconfig)
 {
     popup = popup_new(FALSE);
 
-    client_add_destructor(client_dest);
+    if (!reconfig)
+        client_add_destructor(client_dest);
 }
 
-void moveresize_shutdown()
+void moveresize_shutdown(gboolean reconfig)
 {
-    client_remove_destructor(client_dest);
+    if (!reconfig)
+        client_remove_destructor(client_dest);
 
     popup_free(popup);
     popup = NULL;
This page took 0.024047 seconds and 4 git commands to generate.