scrollBar.init |= R_SB_PLAIN;
gcvalue.foreground = pix_colors_focused[Color_scroll];
- pscrollbarGC = XCreateGC (xdisp, scrollBar.win,
- GCForeground, &gcvalue);
+ pscrollbarGC = XCreateGC (xdisp, scrollBar.win, GCForeground, &gcvalue);
}
xsb = OPTION (Opt_scrollBar_right) ? 1 : 0;
{
if (last_top < scrollBar.top)
XClearArea (xdisp, scrollBar.win,
- sb_shadow + xsb, last_top,
+ sb_shadow, last_top,
sbwidth + 1, (scrollBar.top - last_top), False);
if (scrollBar.bot < last_bot)
XClearArea (xdisp, scrollBar.win,
- sb_shadow + xsb, scrollBar.bot,
+ sb_shadow, scrollBar.bot,
sbwidth + 1, (last_bot - scrollBar.bot), False);
}
else