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:
parent
6c4126ec61
commit
be79af11f6
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue