]> Dogcows Code - chaz/openbox/commitdiff
remove the reconfigure popup
authorDana Jansens <danakj@orodu.net>
Thu, 4 Sep 2003 00:05:42 +0000 (00:05 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 4 Sep 2003 00:05:42 +0000 (00:05 +0000)
openbox/openbox.c

index c891f56b60242f2c826a19d9c437e48159d9a1f9..a571b18498494e895e95d2fb0712474309a6590d 100644 (file)
@@ -17,7 +17,6 @@
 #include "extensions.h"
 #include "menuframe.h"
 #include "grab.h"
-#include "popup.h"
 #include "group.h"
 #include "config.h"
 #include "mainloop.h"
@@ -195,21 +194,6 @@ int main(int argc, char **argv)
 
     if (screen_annex()) { /* it will be ours! */
         do {
-            Popup *reconfig_popup;
-
-            if (reconfigure) {
-                gint w, h;
-
-                w = WidthOfScreen(ScreenOfDisplay(ob_display, ob_screen));
-                h = HeightOfScreen(ScreenOfDisplay(ob_display, ob_screen));
-
-                reconfig_popup = popup_new(FALSE);
-                popup_position(reconfig_popup, CenterGravity, w / 2, h / 2);
-                popup_show(reconfig_popup, _("Reloading . . ."), NULL);
-
-                XFlush(ob_display);
-            }
-
             event_startup(reconfigure);
             grab_startup(reconfigure);
             /* focus_backup is used for stacking, so this needs to come before
@@ -265,10 +249,6 @@ int main(int argc, char **argv)
                     ObClient *c = it->data;
                     frame_adjust_theme(c->frame);
                 }
-
-                XFlush(ob_display);
-
-                popup_free(reconfig_popup);
             }
 
             reconfigure = FALSE;
This page took 0.025128 seconds and 4 git commands to generate.