From e19e32cf81a2f28bc9434b252facc96f1a55cb91 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Sat, 27 Feb 2016 01:25:33 +0100 Subject: [PATCH] Make protocol specifications follow the DTD Gets rid of these warnings: WARNING: XML failed validation against built-in DTD --- protocols/desktop-shell.xml | 2 +- protocols/xdg-shell.xml | 12 ++++++++++-- 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 @@ - Tell the shell which side of the screen the panel is located. This is so that new windows do not overlap the panel and maximized windows maximize properly. + 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 @@ 0x0000 - 0x0FFF: xdg-shell core values, documented below. 0x1000 - 0x1FFF: GNOME - + + The surface is maximized. The window geometry specified in the configure event must be obeyed by the client. + - + + The surface is fullscreen. The window geometry specified in the configure event must be obeyed by the client. + + The surface is being resized. The window geometry specified in the configure event is a maximum; the client cannot resize beyond it. Clients that have aspect ratio or cell sizing configuration can use a smaller size, however. + + Client window decorations should be painted as if the window is active. Do not assume this means that the window actually has keyboard or pointer focus. +