projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861eee4
)
Prevent GDK from handling emulated button events
author
Po Lu
<luangruo@yahoo.com>
Wed, 15 Dec 2021 02:34:51 +0000
(10:34 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 15 Dec 2021 02:34:51 +0000
(10:34 +0800)
* src/xterm.c (handle_one_xevent): Drop emulated button events.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 1f377f838b39cb02de2e7070ff54b32b6739532b..646985bdc20bd90306956867b8bd5badc181b2d0 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10234,7
+10234,10
@@
handle_one_xevent (struct x_display_info *dpyinfo,
&& xev->detail >= 4
&& xev->detail <= 8
&& xev->flags & XIPointerEmulated)
- goto XI_OTHER;
+ {
+ *finish = X_EVENT_DROP;
+ goto XI_OTHER;
+ }
#endif
device = xi_device_from_id (dpyinfo, xev->deviceid);