mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 10:13:32 +00:00
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>
This commit is contained in:
parent
01ef3746a2
commit
cc877d4b77
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue