layout/shell: Reset split type of windows 16/29616/6
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 30 Jan 2024 15:34:24 +0000 (17:34 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 22 Feb 2024 13:51:33 +0000 (13:51 +0000)
commit083ee3d2b88f49612dfab230990e54c3edbf3aef
tree80f4886a6d11027a4f858b1092ea176cd53399d5
parent1cbb6bdec4d1c0440356240e481e8dfa51a201f2
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
src/ivi-compositor.h
src/layout.c
src/shell.c