weston/xwayland
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
..
dnd.c xwayland: zalloc the x11_data_sources 2016-02-01 13:22:33 -08:00
hash.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
hash.h Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
launcher.c xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
selection.c xwayland: fix spelling mistake 2016-04-05 16:00:18 -07:00
window-manager.c xwm: let the shells decide the position of X windows 2015-12-18 11:48:25 -06:00
xwayland-api.h xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
xwayland.h xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00