desktop: Avoid sending the dimensions for the first output 05/27905/4
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Aug 2022 16:45:53 +0000 (19:45 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 14 Sep 2022 16:35:17 +0000 (16:35 +0000)
commit39c91d5ccae3b65b8fd06276ec4f902e2ff09c7d
treecaef59e9c5970625420b8cae456b30023273931c
parenta99d56dad0ad4ade344b37c9119908254154336c
desktop: Avoid sending the dimensions for the first output

Rather than sending the first available output we have in the system,
use explicitly the output that we specified in the configuration for
that particular appid. If we didn't do that, we would first send the
dimension for the first output, after which we send the dimensions for
the correct output, resulting in a few configure exchanges between the
client and the compositor.

This fixes that by using the correct output from the beginning.

Bug-AGL: SPEC-4520
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If796f1ce8ba069d4fd2c73a7bdfd42e94c9e0418
src/desktop.c