--- rxvt-unicode/src/scrollbar-xterm.C 2006/02/02 18:04:46 1.20 +++ rxvt-unicode/src/scrollbar-xterm.C 2007/11/15 11:36:15 1.25 @@ -1,10 +1,10 @@ -/*--------------------------------*-C-*---------------------------------* +/*----------------------------------------------------------------------* * File: scrollbar-xterm.C *----------------------------------------------------------------------* * * Copyright (c) 1997,1998 mj olesen * Copyright (c) 1999-2001 Geoff Wing - * Copyright (c) 2004 Marc Lehmann + * Copyright (c) 2004-2006 Marc Lehmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -49,7 +49,7 @@ rxvt_fatal ("can't create bitmap\n"); gcvalue.fill_style = FillOpaqueStippled; - gcvalue.foreground = pix_colors_focused[Color_fg]; + gcvalue.foreground = pix_colors_focused[Color_scroll]; gcvalue.background = pix_colors_focused[Color_bg]; xscrollbarGC = XCreateGC (dpy, scrollBar.win, @@ -61,7 +61,7 @@ if (update) { - xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; + xsb = option (Opt_scrollBar_right) ? 1 : 0; if (last_top < scrollBar.top) XClearArea (dpy, scrollBar.win, sb_shadow + xsb, last_top, @@ -84,5 +84,5 @@ xsb ? 0 : sbwidth, scrollBar.end); return 1; } -#endif /* XTERM_SCROLLBAR */ +#endif /* XTERM_SCROLLBAR */ /*----------------------- end-of-file (C source) -----------------------*/