summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-07-12 19:34:00 +0300
committerScott Murray <scott.murray@konsulko.com>2020-07-29 13:11:59 +0000
commitbf016d20408920f3ef09894ebb9f237e270267e5 (patch)
tree1439085020d6da5ada1c8f4674280d6343b39520 /src/ivi-compositor.h
parent35f6733fb39bc83cc16652a3da849d9f383263ef (diff)
layout: Advertise state change for other types of surface roles
Given that now other surfaces roles will be active by default, we need to let other application aware of that fact by advertising state change. Print some debug message while at it, to make it more consistent with the desktop role. Bug-AGL: SPEC-3494 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ia9d959a0912e330303fa3d959ce600237edf35b4
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 7b5c18f..79b2255 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -371,4 +371,8 @@ ivi_set_pending_desktop_surface_remote(struct ivi_output *ioutput,
struct ivi_output *
ivi_layout_find_with_app_id(const char *app_id, struct ivi_compositor *ivi);
+void
+shell_advertise_app_state(struct ivi_compositor *ivi, const char *app_id,
+ const char *data, uint32_t app_state);
+
#endif