[PATCH 2/6 weston] window: send transient flags over the wire

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


On Mon, May 21, 2012 at 04:47:46PM +0300, Tiago Vignatti wrote:
> Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
> ---
>  clients/window.c |    4 ++--
>  clients/window.h |    2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

Committed.
Kristian

> diff --git a/clients/window.c b/clients/window.c
> index d7b2e5c..5c4d28b 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -2695,7 +2695,7 @@ window_create(struct display *display)
>  
>  struct window *
>  window_create_transient(struct display *display, struct window *parent,
> -			int32_t x, int32_t y)
> +			int32_t x, int32_t y, uint32_t flags)
>  {
>  	struct window *window;
>  
> @@ -2710,7 +2710,7 @@ window_create_transient(struct display *display, struct window *parent,
>  	if (display->shell)
>  		wl_shell_surface_set_transient(window->shell_surface,
>  					       window->parent->shell_surface,
> -					       window->x, window->y, 0);
> +					       window->x, window->y, flags);
>  
>  	return window;
>  }
> diff --git a/clients/window.h b/clients/window.h
> index bcb7d62..162cc34 100644
> --- a/clients/window.h
> +++ b/clients/window.h
> @@ -197,7 +197,7 @@ struct window *
>  window_create(struct display *display);
>  struct window *
>  window_create_transient(struct display *display, struct window *parent,
> -			int32_t x, int32_t y);
> +			int32_t x, int32_t y, uint32_t flags);
>  
>  typedef void (*menu_func_t)(struct window *window, int index, void *data);
>  
> -- 
> 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