From: Christian Linhart Date: Mon, 18 Aug 2014 12:59:43 +0000 (+0200) Subject: xinput: rep ChangePointerDevice.status: altenum to enum X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5ae916166bd867eee327c65af61d754a56062f;p=free-sw%2Fxcb%2Fproto xinput: rep ChangePointerDevice.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#n1055 Add comments: 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#n1073 --- diff --git a/src/xinput.xml b/src/xinput.xml index 51a5a5d..b30cf19 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -321,7 +321,10 @@ authorization from the authors. - + +