diff options
author | Christian Linhart <chris@demorecorder.com> | 2014-08-18 14:59:48 +0200 |
---|---|---|
committer | Christian Linhart <chris@demorecorder.com> | 2014-08-25 13:42:56 +0200 |
commit | c272fb7b262c90f7566cc9823ce776dbec53fb39 (patch) | |
tree | 00682b441a826f4754dc13f466dfef0946c9939e /src/xinput.xml | |
parent | 280fff745810f5214f394bd0c3e8d238d623e648 (diff) |
xinput: req UngrabDeviceButton.modifier_device: altenum
add altenum ModifierDevice to field modifier_device for value UseXKeyboard
spec and code:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1225
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI.h#n187
http://cgit.freedesktop.org/xorg/xserver/tree/Xi/ungrdevb.c#n111
the following spec uses "NULL" instead of "UseXKeyboard":
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n1386
Questions:
* is this spec wrong?
* or does "NULL" have the unusual value of 0xff in this context?
Diffstat (limited to 'src/xinput.xml')
-rw-r--r-- | src/xinput.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xinput.xml b/src/xinput.xml index 6538726..29758a2 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -413,7 +413,7 @@ authorization from the authors. <request name="UngrabDeviceButton" opcode="18"> <field type="WINDOW" name="grab_window" /> <field type="CARD16" name="modifiers" mask="ModMask" /> - <field type="CARD8" name="modifier_device" /> + <field type="CARD8" name="modifier_device" altenum="ModifierDevice" /> <field type="CARD8" name="button" altenum="Grab" /> <field type="CARD8" name="grabbed_device" /> <pad bytes="3" /> |