Re: EWMH: Syncing states and actions



On 3/26/07, Matthias Clasen <mclasen redhat com> wrote:
Among other things,
http://bugzilla.gnome.org/show_bug.cgi?id=352383
points out that there are no _NET_WM_ACTION_ABOVE, thus
window managers cannot communicate support for the above
state to pagers. I propose to add

_NET_WM_ACTION_ABOVE and
_NET_WM_ACTION_BELOW

to the spec, in analogy to the other actions matching
states.

Patch to do so attached; comments on wording appreciated.  Since no
one has objected so far, if no one objects in the next couple days,
I'll commit it as is.


Elijah
Index: wm-spec.xml
===================================================================
RCS file: /cvs/icccm-extensions/wm-spec/wm-spec.xml,v
retrieving revision 1.28
diff -u -p -r1.28 wm-spec.xml
--- wm-spec.xml	13 Oct 2006 16:03:28 -0000	1.28
+++ wm-spec.xml	11 Apr 2007 02:50:54 -0000
@@ -1265,6 +1265,8 @@ _NET_WM_ACTION_MAXIMIZE_VERT, ATOM
 _NET_WM_ACTION_FULLSCREEN, ATOM
 _NET_WM_ACTION_CHANGE_DESKTOP, ATOM
 _NET_WM_ACTION_CLOSE, ATOM
+_NET_WM_ACTION_ABOVE, ATOM
+_NET_WM_ACTION_BELOW, ATOM
 ]]></programlisting>
       <para>
 An implementation MAY add new atoms to this list. Implementations
@@ -1321,6 +1323,12 @@ _NET_WM_ACTION_CHANGE_DESKTOP indicates 
 _NET_WM_ACTION_CLOSE indicates that the window may be closed (i.e. a _NET_CLOSE_WINDOW
 message may be sent).
 	</para>
+	<para>
+_NET_WM_ACTION_ABOVE indicates that the window may placed in the "above" layer of windows (i.e. will respond to _NET_WM_STATE_ABOVE changes; see also <xref linkend="STACKINGORDER"/> for details).
+	</para>
+	<para>
+_NET_WM_ACTION_BELOW indicates that the window may placed in the "below" layer of windows (i.e. will respond to _NET_WM_STATE_BELOW changes; see also <xref linkend="STACKINGORDER"/> for details)).
+	</para>
 </sect2>
 
 <sect2><title>_NET_WM_STRUT</title>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]