… | |
… | |
41 | gcvalue.foreground = pix_colors_focused[Color_scroll]; |
41 | gcvalue.foreground = pix_colors_focused[Color_scroll]; |
42 | |
42 | |
43 | pscrollbarGC = XCreateGC (dpy, scrollBar.win, GCForeground, &gcvalue); |
43 | pscrollbarGC = XCreateGC (dpy, scrollBar.win, GCForeground, &gcvalue); |
44 | } |
44 | } |
45 | |
45 | |
46 | xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; |
46 | xsb = option (Opt_scrollBar_right) ? 1 : 0; |
47 | |
47 | |
48 | if (update) |
48 | if (update) |
49 | { |
49 | { |
50 | if (last_top < scrollBar.top) |
50 | if (last_top < scrollBar.top) |
51 | XClearArea (dpy, scrollBar.win, |
51 | XClearArea (dpy, scrollBar.win, |