summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-02 15:05:23 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-03 06:56:40 +0000
commit7a7b46bd7040b2814ad5f314818742bad990e93c (patch)
tree115dbb06f5ba30bc7b56f4547c056c169b51da10 /src/ivi-compositor.h
parent13ac8bab43fffd002196d3a6760eefaa8944def2 (diff)
layout: Inform client to resize for fullscreen roles
In a previous patch we optimized sending the dimensions from the start, but in some situations the client might set up the surface roles *after* that happens, which might lead to issue as we are explicitly terminating the connection if the client wasn't correctly resized by that time. This corrects that such that even if we perform a late set-up for the fullscreen role, we can still tell the client to resize, and later on to display the surface. Bug-AGL: SPEC-4339 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I491c60c9881e99bc3201216a842782417286f0d9
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index b0403c0..9aadd62 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -267,6 +267,11 @@ struct ivi_surface {
bool mapped;
bool advertised_on_launch;
bool checked_pending;
+ enum {
+ NORMAL,
+ RESIZING,
+ FULLSCREEN,
+ } state;
enum ivi_surface_role role;
union {