summaryrefslogtreecommitdiff
path: root/specs/XI2proto.txt
diff options
context:
space:
mode:
Diffstat (limited to 'specs/XI2proto.txt')
-rw-r--r--specs/XI2proto.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 36c57c5..c9bb720 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -1663,9 +1663,9 @@ on the specified input device.
The device to establish the passive grab on or AllDevices or
AllMasterDevices.
detail
- The button number, or key code to grab for.
- Must be 0 for GrabtypeEnter, GrabtypeFocusIn, and
- GrabtypeTouchBegin.
+ In the case of GrabtypeButton, specifies the button number to grab for.
+ In the case of GrabtypeKeycode, specifies the key code to grab for.
+ The value must be 0 for GrabtypeEnter, GrabtypeFocusIn, and GrabtypeTouchBegin.
grab_type
The type of grab to establish.
grab_window