From a95f80fa914678d360f6dfd2b58926193df6ea4a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 24 Aug 2009 09:26:56 +1000 Subject: dix: use IsXtstDevice instead of the direct key lookup. Signed-off-by: Peter Hutterer --- dix/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dix') diff --git a/dix/devices.c b/dix/devices.c index f73b5ffef..f61136c27 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -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); -- cgit v1.2.3