[PATCH 1/2] xfree86: set event->detail for DGA pointer events

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 7 17:51:33 PST 2013


Reported-by: Steven Elliott <selliott4 at austin.rr.com>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 hw/xfree86/common/xf86DGA.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/xfree86/common/xf86DGA.c b/hw/xfree86/common/xf86DGA.c
index c25a274..c10dd32 100644
--- a/hw/xfree86/common/xf86DGA.c
+++ b/hw/xfree86/common/xf86DGA.c
@@ -1074,6 +1074,7 @@ DGAProcessPointerEvent(ScreenPtr pScreen, DGAEvent * event, DeviceIntPtr mouse)
     DeviceEvent ev = {
         .header = ET_Internal,
         .length = sizeof(ev),
+        .detail.key = event->detail,
         .type = event->subtype,
         .corestate = butc ? butc->state : 0
     };
-- 
1.8.1



More information about the xorg-devel mailing list