diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-24 09:21:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-24 10:09:23 +1000 |
commit | 80f18a73267bd3090e459de609a7006a21e6c649 (patch) | |
tree | 5f576d5c5ebf5d7cade13416d1401b1731e90bc3 /include/dix.h | |
parent | b96823713129f641ee99306e3cadba8dfe21afa2 (diff) |
input: move CorePointer/KeyboardProc declarations into header.
The extern declaration in xichangehierarchy.c was broken anyway.
This fixes a crash on creating a new master device.
Reported-by: Maxim Levitsky
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/dix.h')
-rw-r--r-- | include/dix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h index c6e52e71d..e2db6b655 100644 --- a/include/dix.h +++ b/include/dix.h @@ -586,6 +586,9 @@ extern Bool IsKeyboardDevice(DeviceIntPtr dev); extern Bool IsPointerEvent(InternalEvent *event); extern Bool IsMaster(DeviceIntPtr dev); +extern _X_HIDDEN int CorePointerProc(DeviceIntPtr dev, int what); +extern _X_HIDDEN int CoreKeyboardProc(DeviceIntPtr dev, int what); + /* * These are deprecated compatibility functions and will be removed soon! |