From: root Date: Tue, 31 Jan 2006 19:20:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=4dda5d5188f7308cf35322fdf4e3353b5196c0e0;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/scrollbar-plain.C b/src/scrollbar-plain.C index df9ab065..262b8569 100644 --- a/src/scrollbar-plain.C +++ b/src/scrollbar-plain.C @@ -40,8 +40,7 @@ rxvt_term::scrollbar_show_plain (int update, int last_top, int last_bot, int scr 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; @@ -50,12 +49,12 @@ rxvt_term::scrollbar_show_plain (int update, int last_top, int last_bot, int scr { 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