aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston/xwayland.weston-start
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-05-18 13:40:46 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 22:21:30 +0100
commit4bbb5d5c0a4bed12622d06cd918ecd4d9db68b5e (patch)
tree6a1f623fcc2ab3d163f01bfbf71abf2a966bc82c /meta/recipes-graphics/wayland/weston/xwayland.weston-start
parent3e7c4d06aaa1fccc1a18f4431122603cc4a9bbe9 (diff)
downloadopenembedded-core-contrib-4bbb5d5c0a4bed12622d06cd918ecd4d9db68b5e.tar.gz
openembedded-core-contrib-4bbb5d5c0a4bed12622d06cd918ecd4d9db68b5e.tar.bz2
openembedded-core-contrib-4bbb5d5c0a4bed12622d06cd918ecd4d9db68b5e.zip
weston: Add Xwayland initialization support using weston-start
The weston-start script now supports loading modules so the Xwayland support can be loaded optionally. Use this to load Weston accordingly. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/wayland/weston/xwayland.weston-start')
-rw-r--r--meta/recipes-graphics/wayland/weston/xwayland.weston-start7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/xwayland.weston-start b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
new file mode 100644
index 0000000000..b483c97cf1
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if type Xwayland >/dev/null 2>/dev/null; then
+ mkdir -p /tmp/.X11-unix
+
+ add_weston_argument "--modules=xwayland.so"
+fi