[PATCH 1/2] xfree86: set event->detail for DGA pointer events
Dave Airlie
airlied at gmail.com
Thu Jan 10 14:58:22 PST 2013
> Reported-by: Steven Elliott <selliott4 at austin.rr.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Does what it says,
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> 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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list