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>



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