From be79af11f68f2302023c0604a7662af74b2f423d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 21 Sep 2003 18:19:11 +0000 Subject: [PATCH] dont save the appearance when reconfiguring!! that was a crash waiting to happen!! also reset the border stuff on reconfigure --- openbox/dock.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } -- 2.45.2