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:
Daniel Stone 2006-08-07 21:11:38 +03:00 committed by Daniel Stone
parent 9b7ecbd1dd
commit d1c18af27e

View File

@ -5044,7 +5044,7 @@ GetPointerEvents(xEvent **xE, DeviceIntPtr pDev, int type, int buttons,
#ifdef DEBUG #ifdef DEBUG
ErrorF("GPE: detail is %d\n", buttons); ErrorF("GPE: detail is %d\n", buttons);
#endif #endif
kbp->detail = buttons; kbp->detail = pDev->button->map[buttons];
} }
if (num_valuators > 2 && (type == MotionNotify || if (num_valuators > 2 && (type == MotionNotify ||