diff --git a/recipes-graphics/wayland/weston-conf.bbappend b/recipes-graphics/wayland/weston-conf.bbappend new file mode 100644 index 0000000..3f25266 --- /dev/null +++ b/recipes-graphics/wayland/weston-conf.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:" +SRC_URI_append_stm32mpcommon = " file://weston.ini " + +do_install_append_stm32mpcommon() { + mkdir -p ${D}/${sysconfdir}/xdg/weston + install -m 0644 ${WORKDIR}/weston.ini ${D}/${sysconfdir}/xdg/weston +} diff --git a/recipes-graphics/wayland/weston-init/weston.ini b/recipes-graphics/wayland/weston-conf/weston.ini similarity index 84% rename from recipes-graphics/wayland/weston-init/weston.ini rename to recipes-graphics/wayland/weston-conf/weston.ini index a2123f3..1129337 100644 --- a/recipes-graphics/wayland/weston-init/weston.ini +++ b/recipes-graphics/wayland/weston-conf/weston.ini @@ -1,5 +1,6 @@ [core] #modules=cms-colord.so +#xwayland=true shell=desktop-shell.so backend=drm-backend.so idle-time=0 @@ -71,7 +72,20 @@ mode=preferred transform=270 #[libinput] -#enable_tap=true +#enable-tap=true +#tap-and-drag=true +#tap-and-drag-lock=true +#disable-while-typing=false +#middle-button-emulation=true +#left-handed=true +#rotation=90 +#accel-profile=flat +#accel-speed=.9 +#natural-scroll=true +#scroll-method=edge +# For button-triggered scrolling: +#scroll-method=button +#scroll-button=BTN_RIGHT #[touchpad] #constant_accel_factor = 50 diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend deleted file mode 100644 index 1fdc845..0000000 --- a/recipes-graphics/wayland/weston-init.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:" - -SRC_URI_append_stm32mpcommon = " file://weston.ini "