summaryrefslogtreecommitdiff
path: root/man/XIGrabButton.txt
diff options
context:
space:
mode:
Diffstat (limited to 'man/XIGrabButton.txt')
-rw-r--r--man/XIGrabButton.txt6
1 files changed, 6 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.