]> Dogcows Code - chaz/openbox/commitdiff
dont save the appearance when reconfiguring!! that was a crash waiting to happen!!
authorDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 18:19:11 +0000 (18:19 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 21 Sep 2003 18:19:11 +0000 (18:19 +0000)
also reset the border stuff on reconfigure

openbox/dock.c

index f14922401c8c040d688cfe1a6a2c873008f92e29..fe9a0f507eba33d255eff0f7f41228b93fc601af 100644 (file)
@@ -39,7 +39,15 @@ void dock_startup(gboolean reconfig)
     XSetWindowAttributes attrib;
 
     if (reconfig) {
+        XSetWindowBorder(ob_display, dock->frame,
+                         RrColorPixel(ob_rr_theme->b_color));
+        XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
+
+        RrAppearanceFree(dock->a_frame);
+        dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
+
         stacking_add(DOCK_AS_WINDOW(dock));
+
         dock_configure();
         return;
     }
This page took 0.023674 seconds and 4 git commands to generate.