--- rxvt-unicode/src/scrollbar-next.C 2005/02/04 11:41:23 1.16 +++ rxvt-unicode/src/scrollbar-next.C 2005/12/20 19:31:00 1.19 @@ -166,8 +166,7 @@ xcol.red = 0xaeba; xcol.green = 0xaaaa; xcol.blue = 0xaeba; - //if (!rXAllocColor (&xcol, "light gray"))//TODO//D// - xcol.pixel = pix_colors_focused[Color_AntiqueWhite]; + xcol.pixel = pix_colors_focused[Color_scroll]; light = gcvalue.foreground = xcol.pixel; grayGC = XCreateGC (disp, scrollBar.win, GCForeground | GCGraphicsExposures, &gcvalue); @@ -243,7 +242,7 @@ init_scrollbar_stuff (); } - if (TermWin.nscrolled == 0 || !update) + if (nsaved == 0 || !update) { XFillRectangle (disp, scrollBar.win, grayGC, 0, 0, SB_WIDTH_NEXT + 1, height); @@ -254,7 +253,7 @@ SB_LEFT_PADDING, 0, SB_BUTTON_WIDTH, height); } - if (TermWin.nscrolled) + if (nsaved) { if (last_top < scrollBar.top || !update) XFillRectangle (disp, scrollBar.win, stippleGC,