dont save the appearance when reconfiguring!! that was a crash waiting to happen!!

also reset the border stuff on reconfigure
This commit is contained in:
Dana Jansens 2003-09-21 18:19:11 +00:00
parent 6c4126ec61
commit be79af11f6

View file

@ -39,7 +39,15 @@ void dock_startup(gboolean reconfig)
XSetWindowAttributes attrib; XSetWindowAttributes attrib;
if (reconfig) { 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)); stacking_add(DOCK_AS_WINDOW(dock));
dock_configure(); dock_configure();
return; return;
} }