diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-24 16:15:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-24 16:15:47 +1000 |
commit | 057fc9a4f89282e440b5e11458f1dd8655879dd8 (patch) | |
tree | 241de5500f7b467292fb521434a1de1d064ff2bc /include/input.h | |
parent | 95628b797e2b326ae15406df4f736e25f5d2f12f (diff) | |
parent | 932d6bcbb68194c5bdfeb336f700dc8b31529223 (diff) |
Merge branch 'master' into xi2
Conflicts:
Xi/chdevhier.c
include/input.h
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/input.h b/include/input.h index bc9c5beaf..e3509a904 100644 --- a/include/input.h +++ b/include/input.h @@ -469,10 +469,11 @@ extern int AttachDevice(ClientPtr client, extern _X_EXPORT DeviceIntPtr GetPairedDevice(DeviceIntPtr kbd); -extern int AllocMasterDevice(ClientPtr client, +extern int AllocDevicePair(ClientPtr client, char* name, DeviceIntPtr* ptr, - DeviceIntPtr* keybd); + DeviceIntPtr* keybd, + Bool master); extern void DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to); @@ -481,6 +482,10 @@ 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, + char* name, + DeviceIntPtr* ptr, + DeviceIntPtr* keybd); /* misc event helpers */ extern Mask GetEventFilter(DeviceIntPtr dev, xEvent *event); |