From: Marius Vlad Date: Wed, 15 Feb 2023 15:02:28 +0000 (+0200) Subject: compositor: Added layout_save/layout_restore X-Git-Tag: 17.90.0~42 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=28ec0cff16d62260fb1a5900f57353f48446e199;hp=28ec0cff16d62260fb1a5900f57353f48446e199;p=src%2Fagl-compositor.git compositor: Added layout_save/layout_restore In order to send correct dimensions after a hot-plug event, we need to be able to save the area we had before. Note that implies that the connectors do not change names in between hot-plugs, which normally doesn't happen, but it might if udev rules are executed/invoked. We restore based on output name it had previously. Bug-AGL: SPEC-4705 Signed-off-by: Marius Vlad Change-Id: Ice3a127edfc9d356830ba8f0d0a20bb86284d7de ---