weston/compositor
Giulio Camuffo 9c764df043 xwayland: make the plugin usable by libweston compositors
This patch follows a similar approach taken to detach the backends from
weston. But instead of passing a configuration struct when loading the
plugin, we use the plugin API registry to register an API, and to get it
in the compositor side.  This API allows to spawn the Xwayland process
in the compositor side, and to deal with signal handling.  A new
function is added in compositor.c to load and init the xwayland.so
plugin.

Also make sure to re-arm the SIGUSR1 when the X server quits.

Signed-off-by: Giulio Camuffo <giuliocamuffo@gmail.com>
[Pekka: moved xwayland/weston-xwayland.c -> compositor/xwayland.c]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-07-01 14:34:33 +03:00
..
cms-colord.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
cms-helper.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
cms-helper.h Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
cms-static.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
main.c xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
screen-share.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
systemd-notify.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
text-backend.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
weston-screenshooter.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
weston.desktop Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
weston.h xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
weston.pc.in Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
xwayland.c xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00