diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-08-12 00:35:56 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2009-01-22 15:08:58 +1100 |
commit | bc909f71367a02297e725bb5769c2bcadab22395 (patch) | |
tree | 509819678ca888479e3142446d6e1c25cf68d3c0 /include/input.h | |
parent | f06a9d2e05e13466c115fc706966a90b1fb0518e (diff) | |
download | xserver-bc909f71367a02297e725bb5769c2bcadab22395.tar.gz |
Input: Centralise pointer map changing
Replace both core and Xi functions with one function that validates the
proposed map, and sends out both kinds of notification.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index 8a774c963..19d1ae74c 100644 --- a/include/input.h +++ b/include/input.h @@ -368,8 +368,10 @@ extern _X_EXPORT Bool InitKeyboardDeviceStruct( BellProcPtr /*bellProc*/, KbdCtrlProcPtr /*controlProc*/); -extern _X_EXPORT void SendPointerMappingNotify( +extern _X_EXPORT int ApplyPointerMapping( DeviceIntPtr /* pDev */, + CARD8 * /* map */, + int /* len */, ClientPtr /* client */); extern _X_EXPORT Bool BadDeviceMap( |