mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-28 14:30:12 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue