diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-29 13:31:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-29 13:31:19 +1000 |
commit | bf0f3b8f2bc830c8bd6f8f9410b89394b8d96257 (patch) | |
tree | 1351c96b5279a83989e84801600228f545dac522 /test | |
parent | cbeb6a73c44143674a700d36a7e9804d41003a4f (diff) |
test: fix build error introduced by XINPUT_ABI 7
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/input.c b/test/input.c index b80e1f57f..bb32491a4 100644 --- a/test/input.c +++ b/test/input.c @@ -52,13 +52,14 @@ static void dix_init_valuators(void) ValuatorClassPtr val; const int num_axes = 2; int i; + Atom atoms[MAX_VALUATORS] = { 0 }; memset(&dev, 0, sizeof(DeviceIntRec)); 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)); + g_assert(InitValuatorClassDeviceStruct(NULL, 0, atoms, 0, 0) == FALSE); + g_assert(InitValuatorClassDeviceStruct(&dev, num_axes, atoms, 0, Absolute)); val = dev.valuator; g_assert(val); |