make the dock copy appearance from active window titles instead of inactive ones, this won't matter because nobody uses the dock
This commit is contained in:
parent
5d40209fbd
commit
653358c18d
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ void dock_startup(gboolean reconfig)
|
||||||
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
|
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
|
||||||
|
|
||||||
RrAppearanceFree(dock->a_frame);
|
RrAppearanceFree(dock->a_frame);
|
||||||
dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
|
dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title);
|
||||||
|
|
||||||
stacking_add(DOCK_AS_WINDOW(dock));
|
stacking_add(DOCK_AS_WINDOW(dock));
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ void dock_startup(gboolean reconfig)
|
||||||
RrVisual(ob_rr_inst),
|
RrVisual(ob_rr_inst),
|
||||||
CWOverrideRedirect | CWEventMask,
|
CWOverrideRedirect | CWEventMask,
|
||||||
&attrib);
|
&attrib);
|
||||||
dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_unfocused_title);
|
dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title);
|
||||||
XSetWindowBorder(ob_display, dock->frame,
|
XSetWindowBorder(ob_display, dock->frame,
|
||||||
RrColorPixel(ob_rr_theme->b_color));
|
RrColorPixel(ob_rr_theme->b_color));
|
||||||
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
|
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
|
||||||
|
|
Loading…
Reference in a new issue