Hi, as it's getting more common to do client side window decorations and this part is not standardized at all [1], I want to suggest that we add a distinct state for this (_NET_WM_STATE_UNDECORATED). Please see attached patch to the spec. And please propose any improvements to the wording.
If we get this in, I suggest to update the toolkits to use this in addition to the Motif hint. I will take care of changing Qt of course (which btw. already uses a KWin-specific hint). With other toolkits I'm not familiar enough to try to change them :-) Looking forward to your comments. Best Regards Martin Gräßlin [1] Just last week we got one bug report about Motif handling being broken in KWin, and one "bug report" about a toolkit abusing _NET_WM_WINDOW_TYPE_SPLASH for undecorated windows.
From 47af6b72cf1a4b28d607ef23ccd568848ac0db1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin Gräßlin?= <mgraess...@kde.org> Date: Wed, 5 Feb 2014 11:25:00 +0100 Subject: [PATCH] Add a _NET_WM_STATE_UNDECORATED to _NET_WM_STATE This new hint is intended to tell the window manager to not decorate the window. This hint is intended as a replacement for the Motif flag. --- wm-spec/wm-spec.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wm-spec/wm-spec.xml b/wm-spec/wm-spec.xml index 08eef15..10ff283 100644 --- a/wm-spec/wm-spec.xml +++ b/wm-spec/wm-spec.xml @@ -1118,6 +1118,7 @@ _NET_WM_STATE_ABOVE, ATOM _NET_WM_STATE_BELOW, ATOM _NET_WM_STATE_DEMANDS_ATTENTION, ATOM _NET_WM_STATE_FOCUSED, ATOM +_NET_WM_STATE_UNDECORATED, ATOM ]]></programlisting> <para> An implementation MAY add new atoms to this list. Implementations @@ -1222,6 +1223,12 @@ Manager. </para> <para> +_NET_WM_STATE_UNDECORATED indicates that the window should not get any window +decorations by the window manager. A window manager which announces support for +this state in _NET_SUPPORTED MUST NOT add a window decoration to this window. + </para> + + <para> To change the state of a mapped window, a Client MUST send a _NET_WM_STATE client message to the root window: </para> @@ -2300,6 +2307,7 @@ OR OTHER DEALINGS IN THE SOFTWARE. <para>Olivier Chapuis</para> <para>Søren Sandmann</para> <para>Grant Patterson</para> + <para>Martin Graesslin</para> </sect1> <sect1> <title>Change history</title> @@ -2315,6 +2323,9 @@ Added _NET_WM_STATE_FOCUSED. <listitem><para> Added _NET_WM_OPAQUE_REGION </para></listitem> + <listitem><para> +Added _NET_WM_STATE_UNDECORATED + </para></listitem> </itemizedlist> </sect2> <sect2> -- 1.8.5.3
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ wm-spec-list mailing list wm-spec-list@gnome.org https://mail.gnome.org/mailman/listinfo/wm-spec-list