libweston-desktop: fix sending the configure event with wl_shell

Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Giulio Camuffo 2016-09-28 21:29:14 +02:00 committed by Quentin Glidic
parent 3123c81356
commit 72f68c53ea
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
1 changed files with 1 additions and 0 deletions

View File

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