libweston-desktop: Replace buffer with geometry

A previous patch modified this for fullscreen, but missed out the
maximized state. As we check the geometry rather than the buffer
dimensions use the same terminology.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
dev
Marius Vlad 3 years ago
parent 01ef3746a2
commit cc877d4b77
  1. 2
      libweston-desktop/xdg-shell.c

@ -713,7 +713,7 @@ weston_desktop_xdg_toplevel_committed(struct weston_desktop_xdg_toplevel *toplev
wl_resource_post_error(client_resource, wl_resource_post_error(client_resource,
XDG_WM_BASE_ERROR_INVALID_SURFACE_STATE, XDG_WM_BASE_ERROR_INVALID_SURFACE_STATE,
"xdg_surface buffer (%" PRIi32 " x %" PRIi32 ") " "xdg_surface geometry (%" PRIi32 " x %" PRIi32 ") "
"does not match the configured maximized state (%" PRIi32 " x %" PRIi32 ")", "does not match the configured maximized state (%" PRIi32 " x %" PRIi32 ")",
geometry.width, geometry.height, geometry.width, geometry.height,
toplevel->next.size.width, toplevel->next.size.width,

Loading…
Cancel
Save