protocol: fix DTD warning in weston-desktop-shell

The DTD requires elements in certain order, scanner itself doesn't.
Anyway, fix the warning with a simple reordering to match how all other
protocols are written.

Fixes:
protocol:107: element request: validity error : Element request content
does not follow the DTD, expecting (description? , arg*), got (arg
description )

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Pekka Paalanen 9 years ago
parent 379ee65dc7
commit 870fadced3
  1. 3
      protocol/weston-desktop-shell.xml

@ -105,12 +105,13 @@
</enum> </enum>
<request name="set_panel_position"> <request name="set_panel_position">
<arg name="position" type="uint"/>
<description summary="set panel position"> <description summary="set panel position">
Tell the shell which side of the screen the panel is Tell the shell which side of the screen the panel is
located. This is so that new windows do not overlap the panel located. This is so that new windows do not overlap the panel
and maximized windows maximize properly. and maximized windows maximize properly.
</description> </description>
<arg name="position" type="uint"/>
</request> </request>
</interface> </interface>

Loading…
Cancel
Save