summaryrefslogtreecommitdiff
path: root/man
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
parent13ce4a03824a7c5ac0270198d265b02b18786e1f (diff)
Add XIGetSelectedEvents.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am3
-rw-r--r--man/XISelectEvents.txt25
2 files changed, 26 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 383c30f..304f993 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -78,7 +78,8 @@ XI2_refpages = \
XIUngrabKeysym.man \
XIUngrabDevice.man \
XIGetClientPointer.man \
- XIGetFocus.man
+ XIGetFocus.man \
+ XIGetSelectedEvents.man
libman_ref = \
XGetDeviceDontPropagateList.man \
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
-----------