From 8f5ae916166bd867eee327c65af61d754a56062f Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Mon, 18 Aug 2014 14:59:43 +0200 Subject: [PATCH] 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 --- src/xinput.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. - + + -- 2.34.1