… | |
… | |
59 | ShadowGC = XCreateGC (display->display, scrollBar.win, GCForeground, &gcvalue); |
59 | ShadowGC = XCreateGC (display->display, scrollBar.win, GCForeground, &gcvalue); |
60 | } |
60 | } |
61 | |
61 | |
62 | if (update) |
62 | if (update) |
63 | { |
63 | { |
64 | xsb = (options & Opt_scrollBar_right) ? 1 : 0; |
64 | xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; |
65 | if (last_top < scrollBar.top) |
65 | if (last_top < scrollBar.top) |
66 | XClearArea (display->display, scrollBar.win, |
66 | XClearArea (display->display, scrollBar.win, |
67 | sb_shadow + xsb, last_top, |
67 | sb_shadow + xsb, last_top, |
68 | sbwidth, (scrollBar.top - last_top), False); |
68 | sbwidth, (scrollBar.top - last_top), False); |
69 | |
69 | |