projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44908c
)
Fix detection of wheel movement during drag-and-drop
author
Po Lu
<luangruo@yahoo.com>
Mon, 16 May 2022 13:46:30 +0000
(21:46 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 16 May 2022 13:47:39 +0000
(21:47 +0800)
* src/xterm.c (x_dnd_send_position): Don't treat Button8 as the
mouse wheel.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 54edefa3c151efec218fda5b608c6e1083ace8cf..aa6cdc5d6e55cf37748ec637683efc0f712e152c 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-3544,7
+3544,7
@@
x_dnd_send_position (struct frame *f, Window target, int supported,
if (supported >= 5)
{
- if (button >= 4 && button <=
8
)
+ if (button >= 4 && button <=
7
)
{
msg.xclient.data.l[1] |= (1 << 9);
msg.xclient.data.l[1] |= (button - 4) << 7;