- Window reconfig_window;
- 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);
-
- reconfig_window = XCreateWindow
- (ob_display, RootWindow(ob_display, ob_screen),
- 0, 0, w, h,
- 0, CopyFromParent, InputOnly, CopyFromParent, 0, NULL);
- XMapWindow(ob_display, reconfig_window);
-
- XFlush(ob_display);
- }
-
- event_startup(reconfigure);
- grab_startup(reconfigure);
- /* focus_backup is used for stacking, so this needs to come before
- anything that calls stacking_add */
- focus_startup(reconfigure);
- window_startup(reconfigure);
- sn_startup(reconfigure);
-