libweston-desktop: fix sending the configure event with wl_shell
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
committed by
Quentin Glidic
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) ||
|
if ((wsurface->width == width && wsurface->height == height) ||
|
||||||
(width == 0 && height == 0))
|
(width == 0 && height == 0))
|
||||||
|
return;
|
||||||
|
|
||||||
wl_shell_surface_send_configure(surface->resource,
|
wl_shell_surface_send_configure(surface->resource,
|
||||||
WL_SHELL_SURFACE_RESIZE_NONE,
|
WL_SHELL_SURFACE_RESIZE_NONE,
|
||||||
|
|||||||
Reference in New Issue
Block a user