summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-04-28 10:14:00 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-24 22:11:23 +0300
commita158b4353c7b608a0c1fac42f39704043f62376b (patch)
treee5ea36927889dc3b614708febb05f6715ee0a824
parentb58344b207989ada9f33b71b8194eb792457b221 (diff)
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> (cherry picked from commit cc877d4b779bab1ebd67663dbfe7f3b26cdddfd8)
-rw-r--r--libweston-desktop/xdg-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libweston-desktop/xdg-shell.c b/libweston-desktop/xdg-shell.c
index ff76c39c..6cbf55e4 100644
--- a/libweston-desktop/xdg-shell.c
+++ b/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,
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 ")",
geometry.width, geometry.height,
toplevel->next.size.width,