From 435485d145ea0aac1761aa99861067eb9de6ff25 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 23 Aug 2022 12:59:59 +0200 Subject: X11: remark that triple clicks are mishandled --- nncmpp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nncmpp.c b/nncmpp.c index d4b58fd..8d0d74c 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -5957,6 +5957,7 @@ on_x11_input_event (XEvent *ev) app_process_mouse (TERMO_MOUSE_RELEASE, x, y, button, double_click); // Prevent interpreting triple clicks as two double clicks. + // FIXME: This doesn't work: we skip ButtonPress, but use ButtonRelease. last_button_event = (XEvent) {}; if (!double_click) last_button_event = *ev; -- cgit v1.2.3-70-g09d2