weston/desktop-shell
Marius Vlad bf0c99f519 libweston/desktop, desktop-shell: Add getters for pending state
This introduces a few getters to retrieve the pending state from
libweston-desktop, now just libweston, and makes use of it,
specifically get_pending_maximized to avoid sending invalid
dimensions to the client in the particular use case
set_maximized/unset_fullscreen.

These pending state getters are useful to query/poke a not-applied
yet state, and could be useful where we don't have a buffer attached
where the client might be set-up as maximized, but internally libweston
hasn't yet applied that pending state.

Fixes #645

Suggested-by: Morgane Glidic <sardemff7+git@sardemff7.net>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2022-11-10 13:06:07 +02:00
..
input-panel.c libweston: Add weston_surface_map() wrapper 2022-06-16 12:17:15 +03:00
meson.build Move libweston-desktop into libweston 2022-06-28 10:35:52 +00:00
shell.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
shell.h desktop-shell: Remove multiple workspace support 2022-06-24 10:47:42 +03:00