mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 05:50:10 +01:00
dix: don't compress motion events from different devices (EventEnqueue)
(cherry picked from commit8840829ab9) (cherry picked from commit352c5a3112)
This commit is contained in:
parent
600752bece
commit
5909fb3c40
1 changed files with 2 additions and 1 deletions
|
|
@ -1098,9 +1098,10 @@ EnqueueEvent(xEvent *xE, DeviceIntPtr device, int count)
|
|||
#endif
|
||||
sprite.hotPhys.x = XE_KBPTR.rootX;
|
||||
sprite.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 == sprite.hotPhys.pScreen))
|
||||
{
|
||||
tail->event->u.keyButtonPointer.rootX = sprite.hotPhys.x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue