mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
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 a new issue