diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-24 09:48:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-27 14:24:51 +1000 |
commit | 903c3db1d1685bd855dceed9e7b92890743663e1 (patch) | |
tree | 7a89f7e26ccad43c924042a1037a9a1cfb9234d5 /include/input.h | |
parent | 8bfd23e144e51401e3756de9260a4811fcc59e91 (diff) |
Xext: rename Xtst* to XTest*
This patch corrects a misnaming of XTest-related functions.
The extension itself announces itself as XTEST. Xtst is the library name
itself, but all library functions are prefixed by XTest. Same with the
naming in the server.
- Rename all *Xtst* functions to *XTest* for consistency with the library
and in-server API.
- Rename the "Xtst device" property to "XTEST device" for consistency with
the extension naming.
- Rename the device naming to "<master device name> XTEST device". The
default xtest devices become "Virtual core XTEST pointer" and "Virtual
core XTEST keyboard".
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/input.h b/include/input.h index 34e1c69b3..548e58ca6 100644 --- a/include/input.h +++ b/include/input.h @@ -495,14 +495,14 @@ extern int generate_modkeymap(ClientPtr client, DeviceIntPtr dev, KeyCode **modkeymap, int *max_keys_per_mod); extern int change_modmap(ClientPtr client, DeviceIntPtr dev, KeyCode *map, int max_keys_per_mod); -extern int AllocXtstDevice(ClientPtr client, +extern int AllocXTestDevice(ClientPtr client, char* name, DeviceIntPtr* ptr, DeviceIntPtr* keybd, DeviceIntPtr master_ptr, DeviceIntPtr master_keybd); -extern BOOL IsXtstDevice(DeviceIntPtr dev, DeviceIntPtr master); -extern DeviceIntPtr GetXtstDevice(DeviceIntPtr master); +extern BOOL IsXTestDevice(DeviceIntPtr dev, DeviceIntPtr master); +extern DeviceIntPtr GetXTestDevice(DeviceIntPtr master); /* misc event helpers */ extern Mask GetEventFilter(DeviceIntPtr dev, xEvent *event); |