diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-23 12:59:59 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-23 12:59:59 +0200 |
commit | 435485d145ea0aac1761aa99861067eb9de6ff25 (patch) | |
tree | 96c14a3ade4ee1e2753782861051d9d4ea4ba488 | |
parent | d876bbfcd393490c2632093cbfee0a4c477bbc6b (diff) | |
download | nncmpp-435485d145ea0aac1761aa99861067eb9de6ff25.tar.gz nncmpp-435485d145ea0aac1761aa99861067eb9de6ff25.tar.xz nncmpp-435485d145ea0aac1761aa99861067eb9de6ff25.zip |
X11: remark that triple clicks are mishandled
-rw-r--r-- | nncmpp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |