From d1c18af27e0aed73104743afb4bf4b8d3d1186cf Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 7 Aug 2006 21:11:38 +0300 Subject: [PATCH] GPE: use button map for DBP/DBR, not just BP/BR Make sure we use the button map for extended events, not just core. --- dix/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/events.c b/dix/events.c index f87e850ea..002b47dfb 100644 --- a/dix/events.c +++ b/dix/events.c @@ -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 ||