desktop: Fix Xwayland build 40/29140/1
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 17 Aug 2023 11:59:24 +0000 (14:59 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 17 Aug 2023 12:09:44 +0000 (15:09 +0300)
commita68408367cf5e254d981e1d43ba261b9aade6166
tree8b47f5925eb041edbede034c4e95f2ea24d0db6d
parent5ec94158612e8ba9aed0de43c9f5f40d6f61f0cd
desktop: Fix Xwayland build

Turns out weston doesn't install xwayland-api header if Xwayland is not
installed, which is a shame, and should be rectified. Meanwhile, let's
guard access to the header and the API that the header exports.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I77638b263483628f8cc7a3dcbd08c8947db1d86b
src/desktop.c