From: Christian Linhart Date: Mon, 18 Aug 2014 12:59:42 +0000 (+0200) Subject: xinput: rep ChangeKeyboardDevice.status: altenum to enum X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8b37167cffd211b2ab635d2521d5b6d9d3cc47;hp=63b08d46f699b8a548cf2b9f500da26b11428ebf;p=free-sw%2Fxcb%2Fproto xinput: rep ChangeKeyboardDevice.status: altenum to enum Field "status" can only get values from enum GrabStatus therefore make it an enum instead of altenum. spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n1016 Add comment about valid values for field status. Note: An old spec lists value 2 for enum value "Frozen" while enum GrabStatus has value 4 for Frozen. The old spec is probably wrong. Here is the URL of the old spec: http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1044 --- diff --git a/src/xinput.xml b/src/xinput.xml index 58551ea..51a5a5d 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -304,7 +304,10 @@ authorization from the authors. - + +