From 72f68c53eaad0829f9d14f62bb72a0db237983f4 Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Wed, 28 Sep 2016 21:29:14 +0200 Subject: [PATCH] libweston-desktop: fix sending the configure event with wl_shell Reviewed-by: Quentin Glidic --- 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 b5ad334e..695b4a3f 100644 --- a/libweston-desktop/wl-shell.c +++ b/libweston-desktop/wl-shell.c @@ -69,6 +69,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,