… | |
… | |
1327 | |
1327 | |
1328 | /* don't want Expose on the parent or vt. It is better to use |
1328 | /* don't want Expose on the parent or vt. It is better to use |
1329 | scr_touch or we get a great deal of flicker otherwise: */ |
1329 | scr_touch or we get a great deal of flicker otherwise: */ |
1330 | XClearWindow (target->dpy, target->parent[0]); |
1330 | XClearWindow (target->dpy, target->parent[0]); |
1331 | |
1331 | |
1332 | if (target->scrollBar.win) |
1332 | if (target->scrollBar.state && target->scrollBar.win) |
1333 | { |
1333 | { |
1334 | target->scrollBar.state = STATE_IDLE; |
1334 | target->scrollBar.state = STATE_IDLE; |
1335 | target->scrollBar.show (0); |
1335 | target->scrollBar.show (0); |
1336 | } |
1336 | } |
1337 | |
1337 | |