mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 22:10:11 +01:00
dix: use IsXtstDevice instead of the direct key lookup.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
16b7ebd7d8
commit
a95f80fa91
1 changed files with 1 additions and 1 deletions
|
|
@ -1231,7 +1231,7 @@ InitValuatorClassDeviceStruct(DeviceIntPtr dev, int numAxes, Atom *labels,
|
|||
dev->last.numValuators = numAxes;
|
||||
|
||||
if (IsMaster(dev) || /* do not accelerate master or xtest devices */
|
||||
dixLookupPrivate(&dev->devPrivates, XTstDevicePrivateKey ))
|
||||
IsXtstDevice(dev, NULL))
|
||||
InitPointerAccelerationScheme(dev, PtrAccelNoOp);
|
||||
else
|
||||
InitPointerAccelerationScheme(dev, PtrAccelDefault);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue