[PATCH wayland] protocol: use transient flags for activate or not surfaces

Kristian Høgsberg hoegsberg at gmail.com
Mon May 21 09:55:47 PDT 2012


On Mon, May 21, 2012 at 04:47:44PM +0300, Tiago Vignatti wrote:
> Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
> ---
>  TODO                 |    3 ---
>  protocol/wayland.xml |    4 ++++
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/TODO b/TODO
> index c8dcbac..4e8002d 100644
> --- a/TODO
> +++ b/TODO
> @@ -63,9 +63,6 @@ ICCCM
>     recommended types for text or images, types that a clipboard
>     manager must support, mime-types must be listed in preferred order
>  
> - - we need a "no kb focus please" mechanism.  Or should this be
> -   implicit in a specific surface type?

Not sure this one is fully solved.  There's definitely a need for "no
kb focus" toplevel windows, and this approach only works for transient
windows.  Committed without this chunk.

Kristian

> -
>  EWMH
>  
>   - configure should provide dx_left, dx_right, dy_top, dy_bottom, or
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index f14d1d2..d70ced7 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -440,6 +440,10 @@
>        </description>
>      </request>
>  
> +    <enum name="transient">
> +      <entry name="inactive" value="0x1" summary="do not set keyboard focus"/>
> +    </enum>
> +
>      <request name="set_transient">
>        <description summary="make the surface a transient surface">
>  	Map the surface relative to an existing surface. The x and y
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list