mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 03:47:34 +00:00
Fix detection of wheel movement during drag-and-drop
* src/xterm.c (x_dnd_send_position): Don't treat Button8 as the mouse wheel.
This commit is contained in:
parent
c44908c059
commit
3939a72fcb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue