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:
Peter Hutterer 2009-06-01 13:21:36 +10:00
parent 0f47203a9a
commit de5c5b1db0

View File

@ -54,7 +54,7 @@ static void dix_init_valuators(void)
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(&dev, num_axes, 0, Absolute));