X11: remark that triple clicks are mishandled
This commit is contained in:
parent
d876bbfcd3
commit
435485d145
1
nncmpp.c
1
nncmpp.c
|
@ -5957,6 +5957,7 @@ on_x11_input_event (XEvent *ev)
|
||||||
app_process_mouse (TERMO_MOUSE_RELEASE, x, y, button, double_click);
|
app_process_mouse (TERMO_MOUSE_RELEASE, x, y, button, double_click);
|
||||||
|
|
||||||
// Prevent interpreting triple clicks as two double clicks.
|
// Prevent interpreting triple clicks as two double clicks.
|
||||||
|
// FIXME: This doesn't work: we skip ButtonPress, but use ButtonRelease.
|
||||||
last_button_event = (XEvent) {};
|
last_button_event = (XEvent) {};
|
||||||
if (!double_click)
|
if (!double_click)
|
||||||
last_button_event = *ev;
|
last_button_event = *ev;
|
||||||
|
|
Loading…
Reference in New Issue