summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2013-12-06 16:17:37 -0500
committerJulien Cristau <jcristau@debian.org>2013-12-14 06:06:55 +0100
commitb96ddddecd858898c468e2e20f61020f608e3c05 (patch)
tree95430fc3fa9966571552a795f5a512a41e5d714b
parentc95ff74bf415c5435252dc87e53e6c7bb8b8c9d3 (diff)
xinput: Explicitly specify NotifyMode and NotifyDetail
There is a NotifyMode and a NotifyDetail in both xproto and xinput. Add a namespece to the enum references to be clear about which one is to be used. Signed-off-by: Peter Harris <pharris@opentext.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--src/xinput.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xinput.xml b/src/xinput.xml
index dd3f184..fa115bd 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1790,10 +1790,10 @@ authorization from the authors.
<eventcopy name="DeviceMotionNotify" number="5" ref="DeviceKeyPress" />
<event name="DeviceFocusIn" number="6">
- <field type="BYTE" name="detail" enum="NotifyDetail" />
+ <field type="BYTE" name="detail" enum="xproto:NotifyDetail" />
<field type="TIMESTAMP" name="time" />
<field type="WINDOW" name="window" />
- <field type="BYTE" name="mode" enum="NotifyMode" />
+ <field type="BYTE" name="mode" enum="xproto:NotifyMode" />
<field type="CARD8" name="device_id" />
<pad bytes="18" />
</event>
@@ -2003,8 +2003,8 @@ authorization from the authors.
<field type="TIMESTAMP" name="time" altenum="Time" />
<!-- event specific fields -->
<field type="DeviceId" name="sourceid" altenum="Device" />
- <field type="CARD8" name="mode" enum="NotifyMode" />
- <field type="CARD8" name="detail" enum="NotifyDetail" />
+ <field type="CARD8" name="mode" enum="xinput:NotifyMode" />
+ <field type="CARD8" name="detail" enum="xinput:NotifyDetail" />
<field type="WINDOW" name="root" />
<field type="WINDOW" name="event" />
<field type="WINDOW" name="child" />