weston/libweston
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
..
animation.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
bindings.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
clipboard.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-drm.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-drm.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-fbdev.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-fbdev.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-headless.c compositor-headless: Support starting with zero outputs 2016-06-27 13:17:05 +03:00
compositor-headless.h compositor-headless: Support starting with zero outputs 2016-06-27 13:17:05 +03:00
compositor-rdp.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-rdp.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-wayland.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-wayland.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor-x11.c compositor-x11: fix title overflow in x11_backend_create_output 2016-06-24 07:08:23 +10:00
compositor-x11.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
compositor.c xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
compositor.h xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
data-device.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
dbus.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
dbus.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
gl-renderer.c gl-renderer: Always setup gl-renderer 2016-06-27 15:57:11 +03:00
gl-renderer.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
input.c input: Move weston_seat_set_keyboard_focus and document 2016-06-30 13:15:33 +03:00
launcher-direct.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-impl.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-logind.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-util.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-util.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
launcher-weston-launch.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libbacklight.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libbacklight.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-device.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-device.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-seat.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libinput-seat.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
libweston.pc.in Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
linux-dmabuf.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
linux-dmabuf.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
log.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
noop-renderer.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
pixman-renderer.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
pixman-renderer.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
plugin-registry.c compositor: add plugin-registry 2016-07-01 14:10:26 +03:00
plugin-registry.h compositor: add plugin-registry 2016-07-01 14:10:26 +03:00
screenshooter.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
spring-tool.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline-object.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
timeline.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vaapi-recorder.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vaapi-recorder.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
version.h.in Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vertex-clipping.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
vertex-clipping.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-egl-ext.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-launch.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
weston-launch.h Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
zoom.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00