From: Dana Jansens Date: Sun, 21 Sep 2003 18:19:11 +0000 (+0000) Subject: dont save the appearance when reconfiguring!! that was a crash waiting to happen!! X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=be79af11f68f2302023c0604a7662af74b2f423d;p=chaz%2Fopenbox dont save the appearance when reconfiguring!! that was a crash waiting to happen!! also reset the border stuff on reconfigure --- diff --git a/openbox/dock.c b/openbox/dock.c index f1492240..fe9a0f50 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -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; }