summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-08-25 19:04:29 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-09-14 19:39:44 +0300
commitb92397ef12626a0d09cb4c9e853d0c038104110f (patch)
treef6fec7f5482a711ee2fd47bc9906f0a0cc1070d6 /src/ivi-compositor.h
parent372eb222b17bbc9d40357187aa9700eddcd21f50 (diff)
shell: Remove the black curtain installed on outputs
Upon completion of activation we might have an output without a background surface set-up on that particular output, so this patch either uses the black curtain as a background surface (useful for transparent applications, which need it) or we remove it entirely in case the shell client has one installed. The patch renames the black_surface to black_curtain to better reflect its name. Also output filtering would need renaming (desktop_surface_check_last_surfaces) Bug-AGL: SPEC-4516 Reported-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I6071b07664772d891a4d8c33a7603573ec2069fa
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 7302348..bc5cc68 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -262,6 +262,7 @@ struct ivi_surface {
struct weston_desktop_surface *dsurface;
struct weston_view *view;
struct ivi_output *hidden_layer_output;
+ struct ivi_output *current_completed_output;
struct wl_list link;
int focus_count;
@@ -416,10 +417,13 @@ struct ivi_output *
ivi_layout_get_output_from_surface(struct ivi_surface *surf);
void
-insert_black_surface(struct ivi_output *output);
+insert_black_curtain(struct ivi_output *output);
void
-remove_black_surface(struct ivi_output *output);
+remove_black_curtain(struct ivi_output *output);
+
+bool
+output_has_black_curtain(struct ivi_output *output);
const char *
ivi_layout_get_surface_role_name(struct ivi_surface *surf);