#include "extensions.h"
#include "menuframe.h"
#include "grab.h"
-#include "popup.h"
#include "group.h"
#include "config.h"
#include "mainloop.h"
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
ObClient *c = it->data;
frame_adjust_theme(c->frame);
}
-
- XFlush(ob_display);
-
- popup_free(reconfig_popup);
}
reconfigure = FALSE;