From ce2fa93a6e2b98572871ed9d2c5bded9ceb131b3 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Mon, 2 Aug 2021 13:28:19 +0200 Subject: [PATCH] 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 --- libweston-desktop/xdg-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston-desktop/xdg-shell.c b/libweston-desktop/xdg-shell.c index 6f438042..ff76c39c 100644 --- a/libweston-desktop/xdg-shell.c +++ b/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,