Re: patch for _NET_WM_STATE_HIDDEN



On Wednesday 12 December 2001 02:00, Matthias Clasen wrote:
> I think the hidden state should also be mentioned in the introduction where
> it talks about the alternatives

_HIDDEN does not provide an alternative to virtual desktops, it merely allows 
WM to state in no uncertain way, that , for example, icon should not be shown 
on the Pager.

> for implementing multiple desktops. Also, the advice for pagers should be

What is related to virtual desktop, is the paragraph that explains what Pager 
should/should not show when client is in particular state, depending on the 
mapping of client windows. I'd say that should be added to Pager 
Implementation Notes : 

<quote>
Pagers should follow the following rules while determining the way to 
represent client window : 
1) If either _NET_WM_STATE_SKIP_PAGER or _NET_WM_STATE_HIDDEN are set on the 
client, then Pager should not show this client.
2) Failing that, if client is in NormalState - Pager should represent 
client's main window.
3) If client is in IconicState and both its icon window and main window are 
unmapped then Pager should still represent client's main window
4) If client is in IconicState and its icon window is mapped (window id 
specified in WM_STATE property) - Pager should represent client's icon window.
</quote>

> to look for the hidden state if
> the wm supports it and fall back to IconicState otherwise).
>
> Matthias
>

Sasha

> ----- Original Message -----
> From: "Havoc Pennington" <hp redhat com>
> To: <wm-spec-list gnome org>
> Sent: Wednesday, December 12, 2001 12:10 AM
> Subject: Re: patch for _NET_WM_STATE_HIDDEN
>
> > Hi,
> >
> > No opinions on this patch?
> >
> > Havoc
> >
> > Havoc Pennington <hp redhat com> writes:
> > > Index: wm-spec.sgml
> > > ===================================================================
> > > RCS file: /home/freedesktop/wm-spec/wm-spec.sgml,v
> > > retrieving revision 1.17
> > > diff -u -p -u -r1.17 wm-spec.sgml
> > > --- wm-spec.sgml 2001/10/18 18:07:17 1.17
> > > +++ wm-spec.sgml 2001/12/10 06:27:10
> > > @@ -685,6 +685,7 @@ _NET_WM_STATE_MAXIMIZED_HORZ, ATOM
> > >  _NET_WM_STATE_SHADED, ATOM
> > >  _NET_WM_STATE_SKIP_TASKBAR, ATOM
> > >  _NET_WM_STATE_SKIP_PAGER, ATOM
> > > +_NET_WM_STATE_HIDDEN, ATOM
> > >  _NET_WM_STATE_FULLSCREEN, ATOM
> > >  ]]></programlisting>
> > >        <para>
> > > @@ -711,13 +712,30 @@ _NET_WM_STATE_MAXIMIZED_{VERT,HORZ} indi
> > >  _NET_WM_STATE_SHADED indicates that the window is shaded.
> > >  </para>
> > >  <para>
> > > -_NET_WM_STATE_SKIP_TASKBAR indicates that the window should not be
>
> included on a
>
> > > -taskbar.
> > > - </para>
> > > - <para>
> > > -_NET_WM_STATE_SKIP_PAGER indicates that the window should not be
>
> included on a
>
> > > -pager.
> > > - </para>
> > > +_NET_WM_STATE_SKIP_TASKBAR indicates that the window should not be
> > > +included on a taskbar. This hint should be requested by the
> > > +application, i.e. it indicates that the window by nature is never
> > > +in the taskbar.  Applications should not set this hint if
> > > +_NET_WM_WINDOW_TYPE already conveys the exact nature of the
> > > +window.
> > > + </para>
> > > + <para>
> > > +_NET_WM_STATE_SKIP_PAGER indicates that the window should not be
> > > +included on a pager. This hint should be requested by the application,
> > > +i.e. it indicates that the window by nature is never in the
> > > +pager. Applications should not set this hint if _NET_WM_WINDOW_TYPE
> > > +already conveys the exact nature of the window.
> > > + </para>
> > > +        <para>
> > > +_NET_WM_STATE_HIDDEN should be set by the window manager to indicate
> > > +that a window would not be visible on the screen if its
> > > +desktop/viewport were active and its coordinates were within
> > > +the screen bounds. The canonical example is that minimized windows
> > > +should be in the _NET_WM_STATE_HIDDEN state.  Pagers and similar
> > > +applications should use _NET_WM_STATE_HIDDEN instead of WM_STATE to
> > > +decide whether to display a window in miniature representations of the
> > > +windows on a desktop.
> > > +        </para>
> > >  <para>
> > >  _NET_WM_STATE_FULLSCREEN indicates that the window should fill the
>
> entire screen
>
> > >  and have no window decorations. For example, a presentation program
>
> would use
>
> > > @@ -1331,6 +1349,10 @@ OR OTHER DEALINGS IN THE SOFTWARE.
> > >   </para></listitem>
> > >   <listitem><para>
> > >   Added _NET_WM_ALLOWED_ACTIONS.
> > > + </para></listitem>
> > > + <listitem><para>
> > > + Added _NET_WM_STATE_HIDDEN and clarified purpose of
>
> _NET_WM_STATE_SKIP_PAGER and
>
> > > + _NET_WM_STATE_SKIP_TASKBAR.
> > >   </para></listitem>
> > >   </itemizedlist>
> > >   </sect2>
> >
> > _______________________________________________
> > wm-spec-list mailing list
> > wm-spec-list gnome org
> > http://mail.gnome.org/mailman/listinfo/wm-spec-list
>
> _______________________________________________
> wm-spec-list mailing list
> wm-spec-list gnome org
> http://mail.gnome.org/mailman/listinfo/wm-spec-list



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