summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-01-30 17:34:24 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-02-22 13:51:33 +0000
commit083ee3d2b88f49612dfab230990e54c3edbf3aef (patch)
tree80f4886a6d11027a4f858b1092ea176cd53399d5 /src/ivi-compositor.h
parent1cbb6bdec4d1c0440356240e481e8dfa51a201f2 (diff)
layout/shell: Reset split type of windows
This change would reset to default (none) orientation when activating a different window, than those split and currently active. The use-case is that when activating a different window all previous split ones would reset to their original state (none orientation), such that when the user tries to activate any former split windows it would get the window without being split plus the other active window in the same time. IOW going back and activating an former split window would also display the other window which would complicate things a bit. Bug-AGL: SPEC-4839 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I315d42b656962bf3f68f140466ab58429a0e972c
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 1c1d678..9f3cc47 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -541,4 +541,8 @@ is_shell_surface_xwayland(struct ivi_surface *surf);
void
ivi_layout_reset_split_surfaces(struct ivi_compositor *ivi);
+void
+_ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *output,
+ uint32_t orientation, bool to_activate);
+
#endif