… | |
… | |
1873 | #ifdef MOUSE_REPORT_DOUBLECLICK |
1873 | #ifdef MOUSE_REPORT_DOUBLECLICK |
1874 | if (ev.button == MEvent.button && clickintime) |
1874 | if (ev.button == MEvent.button && clickintime) |
1875 | { |
1875 | { |
1876 | /* same button, within alloted time */ |
1876 | /* same button, within alloted time */ |
1877 | MEvent.clicks++; |
1877 | MEvent.clicks++; |
|
|
1878 | |
1878 | if (MEvent.clicks > 1) |
1879 | if (MEvent.clicks > 1) |
1879 | { |
1880 | { |
1880 | /* only report double clicks */ |
1881 | /* only report double clicks */ |
1881 | MEvent.clicks = 2; |
1882 | MEvent.clicks = 2; |
1882 | mouse_report (ev); |
1883 | mouse_report (ev); |
… | |
… | |
2090 | } |
2091 | } |
2091 | |
2092 | |
2092 | break; |
2093 | break; |
2093 | } |
2094 | } |
2094 | } |
2095 | } |
|
|
2096 | |
2095 | return; |
2097 | return; |
2096 | } |
2098 | } |
|
|
2099 | |
2097 | #if MENUBAR |
2100 | #if MENUBAR |
2098 | /* |
2101 | /* |
2099 | * Menubar window processing of button press |
2102 | * Menubar window processing of button press |
2100 | */ |
2103 | */ |
2101 | if (isMenuBarWindow (ev.window)) |
2104 | if (isMenuBarWindow (ev.window)) |