weston/libweston/desktop
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
..
client.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
internal.h libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
libweston-desktop.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
meson.build Move libweston-desktop into libweston 2022-06-28 10:35:52 +00:00
seat.c libweston: Don't return coordinates from weston_compositor_pick_view 2022-11-02 10:25:15 +00:00
surface.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xdg-shell-v6.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xdg-shell.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xwayland.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00