mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 10:20:08 +01:00
GPE: use button map for DBP/DBR, not just BP/BR
Make sure we use the button map for extended events, not just core.
This commit is contained in:
parent
9b7ecbd1dd
commit
d1c18af27e
1 changed files with 1 additions and 1 deletions
|
|
@ -5044,7 +5044,7 @@ GetPointerEvents(xEvent **xE, DeviceIntPtr pDev, int type, int buttons,
|
|||
#ifdef DEBUG
|
||||
ErrorF("GPE: detail is %d\n", buttons);
|
||||
#endif
|
||||
kbp->detail = buttons;
|
||||
kbp->detail = pDev->button->map[buttons];
|
||||
}
|
||||
|
||||
if (num_valuators > 2 && (type == MotionNotify ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue