diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt index 36c57c586372e06a888b9990883fcd25c1a6d54b..c9bb7202425a41fd7efe9317580e733d310f70a9 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