Xi: call CheckMotion for floating SDs too.
CheckMotion updates the sprite position so we need to call it for all devices that have a sprite - including floating SDs (which have an invisible sprite).
This commit is contained in:
parent
83eb863e3c
commit
9bf77569cc
@ -1040,7 +1040,7 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count)
|
|||||||
b = device->button;
|
b = device->button;
|
||||||
k = device->key;
|
k = device->key;
|
||||||
|
|
||||||
if (device->isMaster)
|
if (device->isMaster || !device->u.master)
|
||||||
CheckMotion(xE, device);
|
CheckMotion(xE, device);
|
||||||
|
|
||||||
if (xE->u.u.type != DeviceValuator && xE->u.u.type != GenericEvent) {
|
if (xE->u.u.type != DeviceValuator && xE->u.u.type != GenericEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user