[PATCH 1/2] xfree86: set event->detail for DGA pointer events
Peter Hutterer
peter.hutterer at who-t.net
Thu Jan 10 19:46:56 PST 2013
On Thu, Jan 10, 2013 at 06:11:20PM -0800, Daniel Stone wrote:
> Hi,
>
> On 7 January 2013 17:51, Peter Hutterer <peter.hutterer at who-t.net> wrote:
>
> > @@ -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
> > };
> >
>
> Shouldn't this be detail.button?
true, I'll fix this. it's a union though, so no big deal here.
Cheers,
Peter
More information about the xorg-devel
mailing list