mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 05:10:07 +01:00
xfree86: set event->detail for DGA pointer events
Reported-by: Steven Elliott <selliott4@austin.rr.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit c5f2818edb)
This commit is contained in:
parent
de0ea3544f
commit
c201d00014
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue