--- rxvt-unicode/src/scrollbar-rxvt.C 2008/02/19 13:01:33 1.37 +++ rxvt-unicode/src/scrollbar-rxvt.C 2008/02/19 17:49:16 1.38 @@ -208,14 +208,14 @@ XFillRectangle (term->dpy, win, scrollbarGC, sbshadow, top, sbwidth, - len); + bot - top); if (sbshadow) /* trough shadow */ draw_shadow (this, 0, 0, sbwidth + 2 * sbshadow, end + (sbwidth + 1) + sbshadow); /* shadow for scrollbar slider */ - draw_shadow (this, sbshadow, top, sbwidth, len); + draw_shadow (this, sbshadow, top, sbwidth, bot - top); /* Redraw scrollbar arrows */ draw_button (this, sbshadow, sbshadow, UP);