libweston-desktop: fix sending the configure event with wl_shell
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
3123c81356
commit
72f68c53ea
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue