diff options
author | marha <marha@users.sourceforge.net> | 2010-10-20 16:43:00 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-20 16:43:00 +0000 |
commit | f31315aaa8df8630415a9ba6aeeb8b97dcd5094b (patch) | |
tree | 502693f2e8595d2fc3af0b74eb918a44f9323084 /xorg-server/hw/xfree86 | |
parent | 6ab3babba7b1b74528c2194a495fa1e2e67faa55 (diff) | |
download | vcxsrv-f31315aaa8df8630415a9ba6aeeb8b97dcd5094b.tar.gz vcxsrv-f31315aaa8df8630415a9ba6aeeb8b97dcd5094b.tar.bz2 vcxsrv-f31315aaa8df8630415a9ba6aeeb8b97dcd5094b.zip |
xserver git update 20/10/2010
Diffstat (limited to 'xorg-server/hw/xfree86')
-rw-r--r-- | xorg-server/hw/xfree86/common/xf86DGA.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/common/xf86DGA.c b/xorg-server/hw/xfree86/common/xf86DGA.c index 1d46a67d3..9a99a339b 100644 --- a/xorg-server/hw/xfree86/common/xf86DGA.c +++ b/xorg-server/hw/xfree86/common/xf86DGA.c @@ -1133,6 +1133,10 @@ DGAProcessPointerEvent (ScreenPtr pScreen, DGAEvent *event, DeviceIntPtr mouse) ev.root_x = event->dx;
ev.root_y = event->dy;
ev.corestate = event->state;
+ /* DGA is core only, so valuators.data doesn't actually matter.
+ * Mask must be set for EventToCore to create motion events. */
+ SetBit(ev.valuators.mask, 0);
+ SetBit(ev.valuators.mask, 1);
DeliverGrabbedEvent ((InternalEvent*)&ev, mouse, FALSE);
}
}
|