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>
This commit is contained in:
committed by
Pekka Paalanen
parent
26f62d4247
commit
fba27fbef2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user