diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-12 17:40:11 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-24 12:02:26 +0930 |
commit | 8840829ab93c4eb62eb58753c015da5307133fe5 (patch) | |
tree | 7452950600f3bc40411571ce9d7da248bb89c470 /dix/events.c | |
parent | 12a18cc8903fac53c3c77b23dd8093187594a4f3 (diff) |
dix: don't compress motion events from different devices (EventEnqueue)
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index ad9ec1ca1..87cf7b078 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1173,9 +1173,10 @@ EnqueueEvent(xEvent *xE, DeviceIntPtr device, int count) #endif pSprite->hotPhys.x = XE_KBPTR.rootX; pSprite->hotPhys.y = XE_KBPTR.rootY; - /* do motion compression */ + /* do motion compression, but not if from different devices */ if (tail && (tail->event->u.u.type == MotionNotify) && + (tail->device == device) && (tail->pScreen == pSprite->hotPhys.pScreen)) { tail->event->u.keyButtonPointer.rootX = pSprite->hotPhys.x; |