*** empty log message ***
authorroot <root>
Tue, 31 Jan 2006 19:20:59 +0000 (19:20 +0000)
committerroot <root>
Tue, 31 Jan 2006 19:20:59 +0000 (19:20 +0000)
src/scrollbar-plain.C

index df9ab065273188fbbaae63a337e997b5afd2e292..262b8569f08f83626f54089287da770b7b8d2904 100644 (file)
@@ -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