ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/scrollbar-rxvt.C
(Generate patch)

Comparing rxvt-unicode/src/scrollbar-rxvt.C (file contents):
Revision 1.37 by ayin, Tue Feb 19 13:01:33 2008 UTC vs.
Revision 1.38 by ayin, Tue Feb 19 17:49:16 2008 UTC

206 } 206 }
207#endif 207#endif
208 208
209 XFillRectangle (term->dpy, win, scrollbarGC, 209 XFillRectangle (term->dpy, win, scrollbarGC,
210 sbshadow, top, sbwidth, 210 sbshadow, top, sbwidth,
211 len); 211 bot - top);
212 212
213 if (sbshadow) 213 if (sbshadow)
214 /* trough shadow */ 214 /* trough shadow */
215 draw_shadow (this, 0, 0, sbwidth + 2 * sbshadow, end + (sbwidth + 1) + sbshadow); 215 draw_shadow (this, 0, 0, sbwidth + 2 * sbshadow, end + (sbwidth + 1) + sbshadow);
216 216
217 /* shadow for scrollbar slider */ 217 /* shadow for scrollbar slider */
218 draw_shadow (this, sbshadow, top, sbwidth, len); 218 draw_shadow (this, sbshadow, top, sbwidth, bot - top);
219 219
220 /* Redraw scrollbar arrows */ 220 /* Redraw scrollbar arrows */
221 draw_button (this, sbshadow, sbshadow, UP); 221 draw_button (this, sbshadow, sbshadow, UP);
222 draw_button (this, sbshadow, end + 1, DN); 222 draw_button (this, sbshadow, end + 1, DN);
223 223

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines