---
 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,
-- 
2.10.0

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to