summaryrefslogtreecommitdiffstats
path: root/src/shell.c
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/shell.c
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/shell.c')
-rw-r--r--src/shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c
index 2978cc3..c884f16 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -793,8 +793,7 @@ shell_set_panel(struct wl_client *client,
weston_desktop_surface_set_size(dsurface, width, height);
}
-
-static void
+void
shell_advertise_app_state(struct ivi_compositor *ivi, const char *app_id,
const char *data, uint32_t app_state)
{