xinput: req UngrabDeviceKey.modifier_device: altenum
authorChristian Linhart <chris@demorecorder.com>
Mon, 18 Aug 2014 12:59:46 +0000 (14:59 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 25 Aug 2014 11:42:56 +0000 (13:42 +0200)
commit7b62d2b8f748b231f2a68a10bd7c5f2ede3743db
treed9b7cf68601625e4351b7b123b3c2af9669d33bd
parent20d642e7d1e594558b17722f3477d967ad66a2db
xinput: req UngrabDeviceKey.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#n1175
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI.h#n187
http://cgit.freedesktop.org/xorg/xserver/tree/Xi/ungrdevk.c#n113

the following spec uses "NULL" instead of "UseXKeyboard":
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n1295
Questions:
* is this spec wrong?
* or does "NULL" have the unusual value of 0xff in this context?
src/xinput.xml