--- rxvt-unicode/src/scrollbar-xterm.C 2007/11/15 11:36:15 1.25 +++ rxvt-unicode/src/scrollbar-xterm.C 2007/12/18 11:08:45 1.26 @@ -59,9 +59,10 @@ ShadowGC = XCreateGC (dpy, scrollBar.win, GCForeground, &gcvalue); } + xsb = option (Opt_scrollBar_right) ? 1 : 0; + if (update) { - xsb = option (Opt_scrollBar_right) ? 1 : 0; if (last_top < scrollBar.top) XClearArea (dpy, scrollBar.win, sb_shadow + xsb, last_top,