diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-07 10:17:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-13 11:19:35 +1000 |
commit | 10d7948e0360860e1e9633dca39f646d492e73bf (patch) | |
tree | f11614dd4e629acfafd90dab6fa0227d784319b4 /test | |
parent | 3f161a0aac39fbdeef393a17269486b8dace4672 (diff) |
test: fix build error introduced by new AllocDevicePair API
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/xi2/protocol-common.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c index 1a4ad2431..fc10698c9 100644 --- a/test/xi2/protocol-common.c +++ b/test/xi2/protocol-common.c @@ -37,6 +37,8 @@ WindowRec window; void *userdata; +extern int CorePointerProc(DeviceIntPtr pDev, int what); +extern int CoreKeyboardProc(DeviceIntPtr pDev, int what); /** * Create and init 2 master devices (VCP + VCK) and two slave devices, one * default mouse, one default keyboard. @@ -48,7 +50,8 @@ struct devices init_devices(void) client = init_client(0, NULL); - AllocDevicePair(&client, "Virtual core", &devices.vcp, &devices.vck, TRUE); + AllocDevicePair(&client, "Virtual core", &devices.vcp, &devices.vck, + CorePointerProc, CoreKeyboardProc, TRUE); inputInfo.pointer = devices.vcp; inputInfo.keyboard = devices.vck; ActivateDevice(devices.vcp, FALSE); @@ -56,7 +59,8 @@ struct devices init_devices(void) EnableDevice(devices.vcp, FALSE); EnableDevice(devices.vck, FALSE); - AllocDevicePair(&client, "", &devices.mouse, &devices.kbd, FALSE); + AllocDevicePair(&client, "", &devices.mouse, &devices.kbd, + CorePointerProc, CoreKeyboardProc, FALSE); ActivateDevice(devices.mouse, FALSE); ActivateDevice(devices.kbd, FALSE); EnableDevice(devices.mouse, FALSE); |