summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.