xdg-shell: Rephrase the "geometry larger than fullscreen state" error

It's the geometry size that gets checked, not the buffer size.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
dev
Sebastian Krzyszkowiak 3 years ago
parent 2ab08d8698
commit ce2fa93a6e
No known key found for this signature in database
GPG Key ID: E8F235CF3BDBC3FF
  1. 2
      libweston-desktop/xdg-shell.c

@ -731,7 +731,7 @@ weston_desktop_xdg_toplevel_committed(struct weston_desktop_xdg_toplevel *toplev
wl_resource_post_error(client_resource,
XDG_WM_BASE_ERROR_INVALID_SURFACE_STATE,
"xdg_surface buffer (%" PRIi32 " x %" PRIi32 ") "
"xdg_surface geometry (%" PRIi32 " x %" PRIi32 ") "
"is larger than the configured fullscreen state (%" PRIi32 " x %" PRIi32 ")",
geometry.width, geometry.height,
toplevel->next.size.width,

Loading…
Cancel
Save