dont save the appearance when reconfiguring!! that was a crash waiting to happen!! also reset the border stuff on reconfigure
Dana Jansens danakj@orodu.net
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
openbox/dock.c
→
openbox/dock.c
@@ -39,7 +39,15 @@ {
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; }