diff options
author | Giulio Camuffo <giuliocamuffo@gmail.com> | 2016-06-02 21:48:10 +0300 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-06-03 13:16:39 +0300 |
commit | fba27fbef2c5ed3e45299b5e950174f0d5f871aa (patch) | |
tree | ea31176022d50e4efd5d3f495e051aa98b753d81 /xwayland | |
parent | 26f62d42474efe00825f710984305e70bfc4e120 (diff) | |
download | weston-fba27fbef2c5ed3e45299b5e950174f0d5f871aa.tar.gz weston-fba27fbef2c5ed3e45299b5e950174f0d5f871aa.tar.bz2 weston-fba27fbef2c5ed3e45299b5e950174f0d5f871aa.zip |
Move the functions launching clients to main.c
They belong in the compositor rather than libweston since they
set signals handlers, and a library should not do that behind its
user's back. Besides, they were using functions in main.c already
so they were not usable by other compositors.
Signed-off-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/xwayland.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/xwayland.h b/xwayland/xwayland.h index b1fd904e..e09c6f96 100644 --- a/xwayland/xwayland.h +++ b/xwayland/xwayland.h @@ -30,6 +30,7 @@ #include <cairo/cairo-xcb.h> #include "compositor.h" +#include "weston.h" #define SEND_EVENT_MASK (0x80) #define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK) |