{
if (last_top < scrollBar.top)
XClearArea (dpy, scrollBar.win,
- scrollBar.shadow, last_top,
+ 0, last_top,
sbwidth + 1, scrollBar.top - last_top, False);
if (scrollBar.bot < last_bot)
XClearArea (dpy, scrollBar.win,
- scrollBar.shadow, scrollBar.bot,
+ 0, scrollBar.bot,
sbwidth + 1, last_bot - scrollBar.bot, False);
}
else
{
if (last_top < scrollBar.top)
XClearArea (dpy, scrollBar.win,
- scrollBar.shadow + xsb, last_top,
+ xsb, last_top,
sbwidth, (scrollBar.top - last_top), False);
if (scrollBar.bot < last_bot)
XClearArea (dpy, scrollBar.win,
- scrollBar.shadow + xsb, scrollBar.bot,
+ xsb, scrollBar.bot,
sbwidth, (last_bot - scrollBar.bot), False);
}
else