… | |
… | |
1911 | iso14755_54 (ev.x, ev.y); |
1911 | iso14755_54 (ev.x, ev.y); |
1912 | return; |
1912 | return; |
1913 | } |
1913 | } |
1914 | #endif |
1914 | #endif |
1915 | |
1915 | |
1916 | clickintime = ev.time - MEvent.time < MULTICLICK_TIME; |
1916 | clickintime = ev.time - MEvent.time < multiClickTime; |
1917 | |
1917 | |
1918 | if (reportmode) |
1918 | if (reportmode) |
1919 | { |
1919 | { |
1920 | /* mouse report from vt window */ |
1920 | /* mouse report from vt window */ |
1921 | /* save the xbutton state (for ButtonRelease) */ |
1921 | /* save the xbutton state (for ButtonRelease) */ |
… | |
… | |
2171 | #ifdef MOUSE_REPORT_DOUBLECLICK |
2171 | #ifdef MOUSE_REPORT_DOUBLECLICK |
2172 | /* only report the release of 'slow' single clicks */ |
2172 | /* only report the release of 'slow' single clicks */ |
2173 | if (MEvent.button != AnyButton |
2173 | if (MEvent.button != AnyButton |
2174 | && (ev.button != MEvent.button |
2174 | && (ev.button != MEvent.button |
2175 | || (ev.time - MEvent.time |
2175 | || (ev.time - MEvent.time |
2176 | > MULTICLICK_TIME / 2))) |
2176 | > multiClickTime / 2))) |
2177 | { |
2177 | { |
2178 | MEvent.clicks = 0; |
2178 | MEvent.clicks = 0; |
2179 | MEvent.button = AnyButton; |
2179 | MEvent.button = AnyButton; |
2180 | mouse_report (ev); |
2180 | mouse_report (ev); |
2181 | } |
2181 | } |