[master} weston.init: enabled xwayland
PATCH 2/3 [master} weston.init: enabled xwayland
set xwayland support in weston.init file to true
Signed-off-by ssuesens <[email protected]>
---
meta/recipes-graphics/wayland/weston-init.bb | 4 ++++
1 file changed, 4 insertions(+)
meta/recipes-graphics/wayland/weston-init.bb +0 -0
@@ -50,6 +50,10 @@ do_install() {
sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini fi
+ if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'yes', 'no', d)}" = "yes" ]; then
+ sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini
+ fi
+
if [ "${@bb.utils.contains('PACKAGECONFIG', 'no-idle-timeout', 'yes', 'no', d)}" = "yes" ]; then sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini
fi
--
2.25.1