xwayland/server: delay non-lazy startup

This allows users to setup event listeners before the server is
actually started.
This commit is contained in:
Simon Ser 2022-10-18 14:52:50 +02:00 committed by Simon Zeni
parent 3f40b0031f
commit d19191ff6b
2 changed files with 13 additions and 1 deletions

View file

@ -39,6 +39,7 @@ struct wlr_xwayland_server {
struct wlr_xwayland_server_options options;
struct wl_display *wl_display;
struct wl_event_source *idle_source;
struct {
struct wl_signal start;