[PATCH weston] libweston-desktop: fix sending the configure event with wl_shell
Giulio Camuffo
giuliocamuffo at gmail.com
Wed Sep 28 19:29:14 UTC 2016
---
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
More information about the wayland-devel
mailing list