EWMH: Syncing states and actions

View: New views
2 Messages — Rating Filter:   Alert me  

EWMH: Syncing states and actions

by Matthias Clasen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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. Note that there are still some states which are
not backed by an action atom, since they are unlikely
to be available to the user via pager ui:

_NET_WM_STATE_MODAL
_NET_WM_STATE_HIDDEN
_NET_WM_STATE_SKIP_{TASKBAR|PAGER}
_NET_WM_STATE_DEMANDS_ATTENTION



Matthias

_______________________________________________
wm-spec-list mailing list
wm-spec-list@...
http://mail.gnome.org/mailman/listinfo/wm-spec-list

Re: EWMH: Syncing states and actions

by Elijah Newren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/26/07, Matthias Clasen <mclasen@...> 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

[add-above-and-below-actions.patch]

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>


_______________________________________________
wm-spec-list mailing list
wm-spec-list@...
http://mail.gnome.org/mailman/listinfo/wm-spec-list
LightInTheBox - Buy quality products at wholesale price!