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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user