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