From 49720c7548b4dd830573820fdd3cda3b6203ddc0 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Tue, 30 Jun 2020 23:28:41 +0300 Subject: specs: Improve description of detail field in XIPassiveGrabDevice --- specs/XI2proto.txt | 6 +++--- 1 file 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 -- cgit v1.2.3