mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 15:00:04 +01:00
mi: UpdateSprite only if the device is attached.
This commit is contained in:
parent
d507f60689
commit
9ce995373e
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ mieqProcessInputEvents(void)
|
|||
}
|
||||
|
||||
/* Update the sprite now. Next event may be from different device. */
|
||||
if (type == DeviceMotionNotify && dev->coreEvents)
|
||||
if (type == DeviceMotionNotify && master)
|
||||
miPointerUpdateSprite(dev);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue