summaryrefslogtreecommitdiffstats
path: root/src/shell.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-07-12 19:26:22 +0300
committerScott Murray <scott.murray@konsulko.com>2020-07-29 13:11:43 +0000
commit35f6733fb39bc83cc16652a3da849d9f383263ef (patch)
treeae61410f35bb033da761e5d4787bb5625828bf2d /src/shell.c
parent5fe16df2348396c87ab24ef5e2a5e6ceaf2eb4c6 (diff)
shell: Assume consistency with the desktop roles
While looking into activation by default of other surfaces, noticed that we're missing consistency on how we handle other types of surface roles. This patch, activate all other surfaces by default when starting up, even if they are started before or after the client shell. Expecting and assuming the same behaviour is important into trying to establish some common work-flow for applications. Bug-AGL: SPEC-3494 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I90e764c6c3a7ed543934ee6f68fa716d90ff151e
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c
index 4886a0a..2978cc3 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -366,24 +366,28 @@ ivi_check_pending_desktop_surface(struct ivi_surface *surface)
ret = ivi_check_pending_desktop_surface_popup(surface);
if (ret) {
ivi_set_desktop_surface_popup(surface);
+ ivi_layout_popup_committed(surface);
return;
}
ret = ivi_check_pending_desktop_surface_split(surface);
if (ret) {
ivi_set_desktop_surface_split(surface);
+ ivi_layout_split_committed(surface);
return;
}
ret = ivi_check_pending_desktop_surface_fullscreen(surface);
if (ret) {
ivi_set_desktop_surface_fullscreen(surface);
+ ivi_layout_fullscreen_committed(surface);
return;
}
ret = ivi_check_pending_desktop_surface_remote(surface);
if (ret) {
ivi_set_desktop_surface_remote(surface);
+ ivi_layout_desktop_committed(surface);
return;
}