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