--- rxvt-unicode/src/scrollbar-plain.C 2004/01/31 04:12:10 1.1 +++ rxvt-unicode/src/scrollbar-plain.C 2004/01/31 04:20:20 1.2 @@ -43,8 +43,6 @@ pscrollbarGC = XCreateGC(Xdisplay, scrollBar.win, GCForeground | GCBackground | GCFillStyle, &gcvalue); - gcvalue.foreground = PixColors[Color_border]; - pShadowGC = XCreateGC(Xdisplay, scrollBar.win, GCForeground, &gcvalue); } /* instead of XClearWindow (Xdisplay, scrollBar.win); */ xsb = (Options & Opt_scrollBar_right) ? 1 : 0; @@ -59,7 +57,7 @@ sbwidth + 1, (last_bot - scrollBar.bot), False); /* scrollbar slider */ - XFillRectangle(Xdisplay, scrollBar.win, xscrollbarGC, + XFillRectangle(Xdisplay, scrollBar.win, pscrollbarGC, xsb + 1, scrollBar.top, sbwidth, scrollbar_len); return 1;