diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-02-24 03:00:53 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-02-24 03:11:59 +0300 |
commit | 00dd53661570996c637d0d4b28188427e04f22bc (patch) | |
tree | f1ed22ed2f29038e3eb2d728daf37c030fa22fe5 /src/goto-commands.h | |
parent | e89593076f488e9e113cc58a5050b7283eedfb6c (diff) | |
download | sciteco-00dd53661570996c637d0d4b28188427e04f22bc.tar.gz |
Gtk: fixed MOUSE macro invocation when detecting double/triple clicks
* At the SciTECO API level (-nEJ), there are no double clicks.
We must therefore ignore the GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS events,
that are delivered when GTK detects double or triple clicks.
They are only sent in addition to GDK_BUTTON_PRESS, so it's safe to
simply ignore them.
* This was causing spurious RELEASED events, which were confusing the ^KMOUSE
macro from fnkeys.tes, causing the wrong buffer range to be inserted into the
command line.
Diffstat (limited to 'src/goto-commands.h')
0 files changed, 0 insertions, 0 deletions