- STRUT_SET(dock_strut, 0, 0, 0, 0);
+ if (reconfig) {
+ GList *it;
+
+ XSetWindowBorder(ob_display, dock->frame,
+ RrColorPixel(ob_rr_theme->
+ frame_focused_border_color));
+ XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->fbwidth);
+
+ RrAppearanceFree(dock->a_frame);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title);
+
+ stacking_add(DOCK_AS_WINDOW(dock));
+
+ dock_configure();
+ dock_hide(TRUE);
+
+ for (it = dock->dock_apps; it; it = g_list_next(it))
+ dock_app_grab_button(it->data, TRUE);
+ return;
+ }
+
+ STRUT_PARTIAL_SET(dock_strut, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0);