summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-03-08 14:01:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-08 14:01:35 +1000
commitf0a352412920d9989323c7d33ca75c3646ee3f35 (patch)
treed72cebe795a1af2791daaabda544f0d0422757d3 /man
parent11b1e8ea7bc160cf9a42231742eedb0e7fefa222 (diff)
man: describe return value for XI2 passive grabbing calls.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
-rw-r--r--man/XIGrabButton.txt6
-rw-r--r--man/XIGrabEnter.txt6
2 files changed, 12 insertions, 0 deletions
diff --git a/man/XIGrabButton.txt b/man/XIGrabButton.txt
index 70a3505..fb806af 100644
--- a/man/XIGrabButton.txt
+++ b/man/XIGrabButton.txt
@@ -156,6 +156,12 @@ DESCRIPTION
combination. XIGrabButton and XIGrabKeycode have no effect on an
active grab.
+ On success, XIGrabButton and XIGrabKeycode return 0;
+ If one or more modifier combinations could not be grabbed,
+ XIGrabButton and XIGrabKeycode return the number of failed
+ combinations and modifiers_inout contains the failed combinations
+ and their respective status codes.
+
XIGrabButton and XIGrabKeycode can generate BadClass, BadDevice,
BadMatch, BadValue, and BadWindow errors.
diff --git a/man/XIGrabEnter.txt b/man/XIGrabEnter.txt
index 005a72b..fff3773 100644
--- a/man/XIGrabEnter.txt
+++ b/man/XIGrabEnter.txt
@@ -133,6 +133,12 @@ DESCRIPTION
is a conflicting grab for any combination. XIGrabEnter and
XIGrabFocusin have no effect on an active grab.
+ On success, XIGrabEnter and XIGrabFocusIn return 0;
+ If one or more modifier combinations could not be grabbed,
+ XIGrabEnter and XIGrabFocusIn return the number of failed
+ combinations and modifiers_inout contains the failed combinations
+ and their respective status codes.
+
XIGrabEnter and XIGrabFocusIn can generate BadDevice,
BadMatch, BadValue, and BadWindow errors.