… | |
… | |
42 | |
42 | |
43 | pscrollbarGC = XCreateGC (display->display, scrollBar.win, |
43 | pscrollbarGC = XCreateGC (display->display, scrollBar.win, |
44 | GCForeground, &gcvalue); |
44 | GCForeground, &gcvalue); |
45 | } |
45 | } |
46 | |
46 | |
47 | xsb = (options & Opt_scrollBar_right) ? 1 : 0; |
47 | xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; |
48 | |
48 | |
49 | if (update) |
49 | if (update) |
50 | { |
50 | { |
51 | if (last_top < scrollBar.top) |
51 | if (last_top < scrollBar.top) |
52 | XClearArea (display->display, scrollBar.win, |
52 | XClearArea (display->display, scrollBar.win, |