Re: No focus on map hint
- From: Havoc Pennington <hp redhat com>
- To: Rob Adams <robadams ucla edu>
- Cc: wm-spec-list gnome org
- Subject: Re: No focus on map hint
- Date: Fri, 14 Mar 2003 12:36:14 -0500
On Fri, Mar 14, 2003 at 09:22:52AM -0800, Rob Adams wrote:
> OK if people are satisfied with the suggestion I think that it should do
> the trick. Here is a patch:
>
> --- wm-spec.sgml 2003-03-02 23:16:40.000000000 -0800
> +++ wm-spec.sgml.no_focus 2003-03-14 09:20:07.000000000 -0800
> @@ -1205,6 +1205,25 @@ _NET_WM_HANDLED_ICONS
> for iconified windows.
> </para>
> </sect2>
> + <sect2><title>_NET_WM_MAP_TIMESTAMP</title>
> + <programlisting><![CDATA[
> +_NET_WM_MAP_TIMESTAMP CARDINAL/32
> +]]></programlisting>
> + <para>
> +Read by the window manager when the window is mapped. If the property
> +is set to a non-zero value TIME, the application is declaring that the
> +window was mapped due to a user action at server timestamp TIME. If
> +set to a zero value the window was mapped for some other reason
> +(i.e. not caused by the user directly).
> + </para>
> + <para>
> +Rationale: This property allows a Window Manager to alter the focus,
> +stacking, and/or placement behavior of windows when they are first
> +mapped depending on whether the new window was created by a user
> +action or is a "pop-up" window activated by a timer or some other
> +event.
> + </para>
> + </sect2>
> </sect1>
> <sect1>
> <title>Window Manager Protocols</title>
>
Could we also add text like:
When launching an application, the DESKTOP_LAUNCH_TIMESTAMP
environment variable may be set to the timestamp of the user action
causing the launch. Applications may choose to honor this environment
variable by setting _NET_WM_MAP_TIMESTAMP to its
contents. Applications should unset the environment variable after
using it, to avoid transmitting it to their child processes.
You should send me a login/crypted-passwd for freedesktop.org CVS too
if you haven't, so you can commit this stuff after we agree. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]