libweston-desktop: fix sending the configure event with wl_shell

Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dev
Giulio Camuffo 8 years ago committed by Quentin Glidic
parent 3123c81356
commit 72f68c53ea
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 1
      libweston-desktop/wl-shell.c

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

Loading…
Cancel
Save