summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-05 09:32:50 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-05 09:33:15 +1000
commit26b83ad4a29dc180b336a19d9e97589814e93e37 (patch)
tree656b0008daf5a7c4d57081be557aa0cbbc4f8ba5 /Xi
parent6a500fdd4d717947b86f6d6844ebf9a8603eb8e2 (diff)
dix: require PointerProc and KeyboardProc to be passed into AllocDevicePair.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/xichangehierarchy.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c
index 9f52b6dbe..48d25c3aa 100644
--- a/Xi/xichangehierarchy.c
+++ b/Xi/xichangehierarchy.c
@@ -54,6 +54,10 @@
#include "xichangehierarchy.h"
+extern DeviceProc CorePointerProc;
+extern DeviceProc CoreKeyboardProc;
+
+
/**
* Send the current state of the device hierarchy to all clients.
*/
@@ -176,7 +180,9 @@ ProcXIChangeHierarchy(ClientPtr client)
strncpy(name, (char*)&c[1], c->name_len);
- rc = AllocDevicePair(client, name, &ptr, &keybd, TRUE);
+ rc = AllocDevicePair(client, name, &ptr, &keybd,
+ CorePointerProc, CoreKeyboardProc,
+ TRUE);
if (rc != Success)
{
xfree(name);