summaryrefslogtreecommitdiff
path: root/specs/XI2proto.txt
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2020-06-30 23:28:41 +0300
committerPovilas Kanapickas <povilas@radix.lt>2020-08-18 09:36:39 +0000
commit49720c7548b4dd830573820fdd3cda3b6203ddc0 (patch)
tree9a07c370e436b390a2755336a4e3ce7d2228978f /specs/XI2proto.txt
parent97b47b5065be386ce96a7653937b83c3717695f6 (diff)
specs: Improve description of detail field in XIPassiveGrabDevice
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