test: fix compile error introduced with the removal of isMaster.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
0f47203a9a
commit
de5c5b1db0
|
@ -54,7 +54,7 @@ static void dix_init_valuators(void)
|
||||||
|
|
||||||
|
|
||||||
memset(&dev, 0, sizeof(DeviceIntRec));
|
memset(&dev, 0, sizeof(DeviceIntRec));
|
||||||
dev.isMaster = TRUE; /* claim it's a master to stop ptracccel */
|
dev.type = MASTER_POINTER; /* claim it's a master to stop ptracccel */
|
||||||
|
|
||||||
g_assert(InitValuatorClassDeviceStruct(NULL, 0, 0, 0) == FALSE);
|
g_assert(InitValuatorClassDeviceStruct(NULL, 0, 0, 0) == FALSE);
|
||||||
g_assert(InitValuatorClassDeviceStruct(&dev, num_axes, 0, Absolute));
|
g_assert(InitValuatorClassDeviceStruct(&dev, num_axes, 0, Absolute));
|
||||||
|
|
Loading…
Reference in New Issue