… | |
… | |
1635 | &unused_root_x, &unused_root_y, |
1635 | &unused_root_x, &unused_root_y, |
1636 | &ev.xbutton.x, &ev.xbutton.y, |
1636 | &ev.xbutton.x, &ev.xbutton.y, |
1637 | &ev.xbutton.state); |
1637 | &ev.xbutton.state); |
1638 | #ifdef MOUSE_THRESHOLD |
1638 | #ifdef MOUSE_THRESHOLD |
1639 | /* deal with a `jumpy' mouse */ |
1639 | /* deal with a `jumpy' mouse */ |
1640 | if ((ev.xmotion.time - MEvent.time) > MOUSE_THRESHOLD) |
1640 | if (ev.xmotion.time - MEvent.time > MOUSE_THRESHOLD) |
|
|
1641 | #endif |
1641 | { |
1642 | { |
1642 | #endif |
|
|
1643 | #if ISO_14755 |
1643 | #if ISO_14755 |
1644 | // 5.4 |
1644 | // 5.4 |
1645 | if (iso14755buf & (ISO_14755_STARTED | ISO_14755_54)) |
1645 | if (iso14755buf & (ISO_14755_STARTED | ISO_14755_54)) |
1646 | { |
1646 | { |
1647 | iso14755_54 (ev.xbutton.x, ev.xbutton.y); |
1647 | iso14755_54 (ev.xbutton.x, ev.xbutton.y); |
… | |
… | |
1696 | * shouldn't be scrolling |
1696 | * shouldn't be scrolling |
1697 | */ |
1697 | */ |
1698 | sel_scroll_ev.stop(); |
1698 | sel_scroll_ev.stop(); |
1699 | } |
1699 | } |
1700 | #endif |
1700 | #endif |
1701 | #ifdef MOUSE_THRESHOLD |
|
|
1702 | } |
1701 | } |
1703 | #endif |
|
|
1704 | } |
1702 | } |
1705 | } |
1703 | } |
1706 | else if (scrollBar.state == SB_STATE_MOTION && ev.xany.window == scrollBar.win) |
1704 | else if (scrollBar.state == SB_STATE_MOTION && ev.xany.window == scrollBar.win) |
1707 | { |
1705 | { |
1708 | while (XCheckTypedWindowEvent (dpy, scrollBar.win, |
1706 | while (XCheckTypedWindowEvent (dpy, scrollBar.win, |