summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-02-22 20:03:36 +1030
committerPeter Hutterer <whot@hyena.localdomain>2007-02-22 20:03:36 +1030
commitde6f3fcaffe204e8f7c811f8a1599e9ed0999f9c (patch)
tree20fe900bf46515e17f2f648b11fcfc9ca21c2b0b /XInput.h
parentbb5c144c53fcb03c56b247b439915d72ad284856 (diff)
add access control requests.
fix wrong field lengths for RegisterPairing request and reply.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/XInput.h b/XInput.h
index a954ab1..df47da2 100644
--- a/XInput.h
+++ b/XInput.h
@@ -1309,6 +1309,49 @@ extern Bool XUnregisterPairingClient(
Display* /* display */
);
+extern Bool XGrabAccessControl(
+ Display* /* display */
+);
+
+extern Bool XUngrabAccessControl(
+ Display* /* display */
+);
+
+extern Bool XClearAccessControl(
+ Display* /* display*/,
+ int /* what */
+);
+
+extern Bool XChangeAcccessRule(
+ Display* /* display */,
+ int /* rule */
+);
+
+extern Status XPermitDevices(
+ Display* /* display */,
+ Window /* win */,
+ char* /* deviceids */,
+ int /* ndevices */
+);
+
+extern Status XDenyDevices(
+ Display* /* display */,
+ Window /* win */,
+ char* /* deviceids */,
+ int /* ndevices */
+);
+
+extern Status XQueryWindowAccess(
+ Display* /* dpy */,
+ Window /* win */,
+ int* /* rule */,
+ char** /* permdevices */,
+ int* /* nperm */,
+ char** /* denydevices */,
+ int* /* ndeny */
+);
+
+
_XFUNCPROTOEND
#endif /* _XINPUT_H_ */