aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-02-27 01:25:33 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-02-27 01:26:17 +0100
commite19e32cf81a2f28bc9434b252facc96f1a55cb91 (patch)
tree0d181fc318e06274ea39f6acbbea3989a92d9c1f /protocols
parentCorrectly exit sway on errors. (diff)
downloadsway-e19e32cf81a2f28bc9434b252facc96f1a55cb91.tar.gz
sway-e19e32cf81a2f28bc9434b252facc96f1a55cb91.tar.zst
sway-e19e32cf81a2f28bc9434b252facc96f1a55cb91.zip
Make protocol specifications follow the DTD
Gets rid of these warnings: WARNING: XML failed validation against built-in DTD
Diffstat (limited to 'protocols')
-rw-r--r--protocols/desktop-shell.xml2
-rw-r--r--protocols/xdg-shell.xml12
2 files changed, 11 insertions, 3 deletions
diff --git a/protocols/desktop-shell.xml b/protocols/desktop-shell.xml
index dd81574a..581f0c5d 100644
--- a/protocols/desktop-shell.xml
+++ b/protocols/desktop-shell.xml
@@ -109,12 +109,12 @@
109 </enum> 109 </enum>
110 110
111 <request name="set_panel_position" since="3"> 111 <request name="set_panel_position" since="3">
112 <arg name="position" type="uint"/>
113 <description summary="set panel position"> 112 <description summary="set panel position">
114 Tell the shell which side of the screen the panel is 113 Tell the shell which side of the screen the panel is
115 located. This is so that new windows do not overlap the panel 114 located. This is so that new windows do not overlap the panel
116 and maximized windows maximize properly. 115 and maximized windows maximize properly.
117 </description> 116 </description>
117 <arg name="position" type="uint"/>
118 </request> 118 </request>
119 119
120 </interface> 120 </interface>
diff --git a/protocols/xdg-shell.xml b/protocols/xdg-shell.xml
index 776438be..7bf4ae3a 100644
--- a/protocols/xdg-shell.xml
+++ b/protocols/xdg-shell.xml
@@ -265,24 +265,32 @@
265 0x0000 - 0x0FFF: xdg-shell core values, documented below. 265 0x0000 - 0x0FFF: xdg-shell core values, documented below.
266 0x1000 - 0x1FFF: GNOME 266 0x1000 - 0x1FFF: GNOME
267 </description> 267 </description>
268 <entry name="maximized" value="1" summary="the surface is maximized"> 268 <entry name="maximized" value="1">
269 <description summary="the surface is maximized">
269 The surface is maximized. The window geometry specified in the configure 270 The surface is maximized. The window geometry specified in the configure
270 event must be obeyed by the client. 271 event must be obeyed by the client.
272 </description>
271 </entry> 273 </entry>
272 <entry name="fullscreen" value="2" summary="the surface is fullscreen"> 274 <entry name="fullscreen" value="2">
275 <description summary="the surface is fullscreen">
273 The surface is fullscreen. The window geometry specified in the configure 276 The surface is fullscreen. The window geometry specified in the configure
274 event must be obeyed by the client. 277 event must be obeyed by the client.
278 </description>
275 </entry> 279 </entry>
276 <entry name="resizing" value="3"> 280 <entry name="resizing" value="3">
281 <description summary="the surface is being resized">
277 The surface is being resized. The window geometry specified in the 282 The surface is being resized. The window geometry specified in the
278 configure event is a maximum; the client cannot resize beyond it. 283 configure event is a maximum; the client cannot resize beyond it.
279 Clients that have aspect ratio or cell sizing configuration can use 284 Clients that have aspect ratio or cell sizing configuration can use
280 a smaller size, however. 285 a smaller size, however.
286 </description>
281 </entry> 287 </entry>
282 <entry name="activated" value="4"> 288 <entry name="activated" value="4">
289 <description summary="the client window is active">
283 Client window decorations should be painted as if the window is 290 Client window decorations should be painted as if the window is
284 active. Do not assume this means that the window actually has 291 active. Do not assume this means that the window actually has
285 keyboard or pointer focus. 292 keyboard or pointer focus.
293 </description>
286 </entry> 294 </entry>
287 </enum> 295 </enum>
288 296