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:
Mikael Magnusson 2006-08-18 19:57:14 +00:00
parent 5d40209fbd
commit 653358c18d

View file

@ -60,7 +60,7 @@ void dock_startup(gboolean reconfig)
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);
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));
@ -88,7 +88,7 @@ void dock_startup(gboolean reconfig)
RrVisual(ob_rr_inst),
CWOverrideRedirect | CWEventMask,
&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,
RrColorPixel(ob_rr_theme->b_color));
XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->bwidth);