[PATCH weston] libweston-desktop: fix sending the configure event with wl_shell

Quentin Glidic sardemff7+wayland at sardemff7.net
Sat Oct 1 09:18:19 UTC 2016


On 28/09/2016 21:29, Giulio Camuffo wrote:
> ---

Thanks:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

And pushed:
3123c81..72f68c5  master -> master

Cheers,


>  libweston-desktop/wl-shell.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libweston-desktop/wl-shell.c b/libweston-desktop/wl-shell.c
> index 20fe494..49f0f82 100644
> --- a/libweston-desktop/wl-shell.c
> +++ b/libweston-desktop/wl-shell.c
> @@ -75,6 +75,7 @@ weston_desktop_wl_shell_surface_set_size(struct weston_desktop_surface *dsurface
>
>  	if ((wsurface->width == width && wsurface->height == height) ||
>  	    (width == 0 && height == 0))
> +		return;
>
>  	wl_shell_surface_send_configure(surface->resource,
>  					WL_SHELL_SURFACE_RESIZE_NONE,
>


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list