summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-09-09 19:48:47 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-09-10 19:35:55 +0300
commit0056122343c782902457802bb1ef6bde7c14d3c9 (patch)
treed0189ad8518e5e9620615b86899e538c72efd011 /src/ivi-compositor.h
parent8769c76e59ec448bc081f4e89f68622e7185f884 (diff)
layout: Activate by default xdg surface that do not have an app_id setjellyfish_9.99.4jellyfish/9.99.49.99.4
The following is necessary in case the app_id is set-up at a later point in time, and it is intended as a work-around for WAM/chromium68 clients that specify the app_id after the initial surface commit. Note that activation will not work, in case the application will never set-up an app_id because we can't identify which app_id to switch to. The activation phase is needed to inform the client of the window dimensions, and it is mandated by the XDG-shell protocol. Bug-AGL: SPEC-3544 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I49a7270dcb68e525fc9d85db2cd189a50c02502f
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 79b2255..6969a7d 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -334,6 +334,9 @@ void
ivi_layout_activate(struct ivi_output *output, const char *app_id);
void
+ivi_layout_activate_by_surf(struct ivi_output *output, struct ivi_surface *surf);
+
+void
ivi_layout_desktop_committed(struct ivi_surface *surf);
void