layout: Detect when an application should be migrated to other outputs 52/27952/3
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 25 Aug 2022 14:42:34 +0000 (17:42 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 14 Sep 2022 16:38:00 +0000 (19:38 +0300)
commit372eb222b17bbc9d40357187aa9700eddcd21f50
treeef10348cc93788436c2c61751bf8afa01d55febe
parent39c91d5ccae3b65b8fd06276ec4f902e2ff09c7d
layout: Detect when an application should be migrated to other outputs

This patch adds a way to determine when to move out/migrate the window to another
output, different than one set previously, or where it was initially added.

This patch only adds support for resizing with a later patch touch the
final activation part.

Uses new output variable to track it the outputs. We send new dimensions
of the output if they do not match the previous/older recorded one.

Bug-AGL: SPEC-4516
Reported-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic5b6b9c1676543fa5ff1524f58e014ad8abb632b
src/ivi-compositor.h
src/layout.c