Skip to contentSkip to conversation

[master} weston.init: enabled xwayland

PATCH New Süsens, Sebastian 1 participant 1 message Jun 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 [master} weston.init: enabled xwayland

set xwayland support in weston.init file to true

---
meta/recipes-graphics/wayland/weston-init.bb | 4 ++++

1 file changed, 4 insertions(+)
meta/recipes-graphics/wayland/weston-init.bb +0 -0
index 497d860203..77dda03cf5 100644
@@ -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