diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-04-27 15:44:58 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-05-03 06:56:40 +0000 |
commit | 13ac8bab43fffd002196d3a6760eefaa8944def2 (patch) | |
tree | cfb2c7b11eb423b4fb8724fa6609c2035903c6c2 /src/ivi-compositor.h | |
parent | 2cd345013ccaaccd74e61e6a14546bc861f8b5b1 (diff) |
layout: Send dimensions when setting up property as fullscreen
Instead of doing it at commit time, do it right after getting the xdg
toplevel surface such that clients can use it from the beginning.
This now includes fullscreen, besides regular desktop roles, and it
avoid mapping the fullscreen upon commit if the dimensions do not really
match up.
Bug-AGL: SPEC-4339
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7185b10770c69d1d6572b0bc025c4a58fe431c67
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r-- | src/ivi-compositor.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 424f126..b0403c0 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -423,9 +423,12 @@ agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi, void ivi_destroy_waltham_destroy(struct ivi_surface *surface); -bool -ivi_check_pending_surface(struct ivi_surface *surface); +void +ivi_check_pending_surface_desktop(struct ivi_surface *surface, + enum ivi_surface_role *role); +struct ivi_output * +ivi_layout_find_bg_output(struct ivi_compositor *ivi); void ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi); |