summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-10-21 08:49:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-21 08:49:31 +1000
commit5189df57e18c79327848fb117a8ede59868c8fdb (patch)
tree9e3ccc42c5ca28dc9f4e85afb8ac0f985689024b
parent05aaf65b3b6b7dc7268137ce4ee516f08eefb62f (diff)
man: XIGrabButton returns error codes, not status codes
Reword slightly that the returned value is the error code for this particular grab. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--man/XIGrabButton.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/XIGrabButton.txt b/man/XIGrabButton.txt
index 2ff0b50..0a74f3d 100644
--- a/man/XIGrabButton.txt
+++ b/man/XIGrabButton.txt
@@ -75,7 +75,7 @@ SYNOPSIS
modifiers_inout
Specifies the set of latched and base modifiers or
XIAnyModifier to grab. Returns the modifiers that could
- not be grabbed and their status code.
+ not be grabbed and their error code.
grab_window
Specifies the grab window.
@@ -160,7 +160,7 @@ DESCRIPTION
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.
+ and their respective error codes.
XIGrabButton and XIGrabKeycode can generate BadClass, BadDevice,
BadMatch, BadValue, and BadWindow errors.