summaryrefslogtreecommitdiff
path: root/man/XISelectEvents.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-25 12:45:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-25 15:22:50 +1000
commit9b9f9373f32ebe9a15f286d16b6ba880b44a9c22 (patch)
tree3682a3a01e54803044089563ca7d001bc5c45ec5 /man/XISelectEvents.txt
parent13ce4a03824a7c5ac0270198d265b02b18786e1f (diff)
Add XIGetSelectedEvents.
Diffstat (limited to 'man/XISelectEvents.txt')
-rw-r--r--man/XISelectEvents.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/man/XISelectEvents.txt b/man/XISelectEvents.txt
index a822fb3..07b3c8e 100644
--- a/man/XISelectEvents.txt
+++ b/man/XISelectEvents.txt
@@ -4,7 +4,7 @@ XISELECTEVENTS(libmansuffix)
NAME
----
- XISelectEvents - select for XI2 events on the window.
+ XISelectEvents, XIGetSelectedEvents - select for or get selected XI2 events on the window.
SYNOPSIS
--------
@@ -28,6 +28,19 @@ SYNOPSIS
win
Specifies the window.
+ XIEventMask *XIGetSelectedEvents( Display *display,
+ Window win,
+ int *num_masks_return);
+
+ display
+ Specifies the connection to the X server.
+
+ num_masks_return
+ Number of masks in the return value.
+
+ win
+ Specifies the window.
+
DESCRIPTION
-----------
@@ -60,6 +73,16 @@ DESCRIPTION
XISelectEvents can generate a BadValue, a BadDevice, and a
BadWindow error.
+ XIGetSelectedEvents returns the events selected by this client on the given
+ window. If no events were selected on this window, XIGetSelectedEvents
+ returns NULL and num_masks_return is set to 0. If an internal error occurs,
+ XIGetSelectedEvents returns NULL and num_masks_return is set to -1.
+ Otherwise, XIGetSelectedEvent returns the selected event masks for all
+ devices including the masks for XIAllDevices and XIAllMasterDevices
+
+ The caller must free the returned data using XFree().
+
+
DIAGNOSTICS
-----------