diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-27 10:27:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-16 07:34:34 +1000 |
commit | db739c0770d49e8b47da90f160b99c76be996a18 (patch) | |
tree | 7e5c1f3293a0008839bce537bb2d90bfb7b318d2 | |
parent | d21fdd9653b0e38e54692735b5a040a7acf22164 (diff) |
man: passive grabs return the number of failed modifier combinations
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 323730f7fa70190d2ea00e62c6964fee524ca430)
-rw-r--r-- | man/XIGrabButton.txt | 10 | ||||
-rw-r--r-- | man/XIGrabEnter.txt | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/man/XIGrabButton.txt b/man/XIGrabButton.txt index 18c7ffc..81e077a 100644 --- a/man/XIGrabButton.txt +++ b/man/XIGrabButton.txt @@ -64,7 +64,7 @@ SYNOPSIS or XIAnyKeycode. num_modifiers - Number of elements in modifiers or modifiers_return + Number of elements in modifiers or modifiers_inout. modifiers Specifies the set of latched and base modifiers or @@ -178,6 +178,14 @@ DESCRIPTION XIUngrabButton and XIUngrabKeycode can generate BadDevice, BadMatch, BadValue and BadWindow errors. +RETURN VALUE +------------ + XIGrabButton and XIGrabKeycode return the number of modifier combination + that could not establish a passive grab. The modifiers are returned in + modifiers_inout, along with the respective error for this modifier + combination. If XIGrabButton or XIGrabKeycode return zero, passive grabs + with all requested modifier combinations were established successfully. + DIAGNOSTICS ----------- diff --git a/man/XIGrabEnter.txt b/man/XIGrabEnter.txt index f75a5ad..e110eec 100644 --- a/man/XIGrabEnter.txt +++ b/man/XIGrabEnter.txt @@ -51,7 +51,7 @@ SYNOPSIS Specifies the device that is to be grabbed or released num_modifiers - Number of elements in modifiers or modifiers_return + Number of elements in modifiers or modifiers_inout. modifiers Specifies the set of latched and base modifiers or @@ -152,6 +152,14 @@ DESCRIPTION XIUngrabEnter and XIUngrabFocusIn can generate BadDevice, BadMatch, BadValue and BadWindow errors. +RETURN VALUE +------------ + XIGrabEnter and XIGrabFocusIn return the number of modifier combination + that could not establish a passive grab. The modifiers are returned in + modifiers_inout, along with the respective error for this modifier + combination. If XIGrabEnter or XIGrabFocusIn return zero, passive grabs + with all requested modifier combinations were established successfully. + DIAGNOSTICS ----------- |