aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qreg-commands.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-02-24 03:00:53 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-02-24 03:11:59 +0300
commit00dd53661570996c637d0d4b28188427e04f22bc (patch)
treef1ed22ed2f29038e3eb2d728daf37c030fa22fe5 /src/qreg-commands.c
parente89593076f488e9e113cc58a5050b7283eedfb6c (diff)
downloadsciteco-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/qreg-commands.c')
0 files changed, 0 insertions, 0 deletions