diff options
author | Simon Ser <contact@emersion.fr> | 2023-10-10 16:56:11 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-10 17:05:04 +0200 |
commit | bdcf997a8985831fcd88c018e92acab6a9a5ed5c (patch) | |
tree | c9d171c47f901d2a41ab466d66d62bc44dd4aa14 /xwayland/server.c | |
parent | 45ba35719e874f7e8651e088c0582fe50301e731 (diff) |
xwayland/server: add ready flag
Allows one to check whether the server is currently ready.
Diffstat (limited to 'xwayland/server.c')
-rw-r--r-- | xwayland/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/server.c b/xwayland/server.c index d53f8ada..fde3d610 100644 --- a/xwayland/server.c +++ b/xwayland/server.c @@ -275,6 +275,7 @@ static int xserver_handle_ready(int fd, uint32_t mask, void *data) { close(fd); wl_event_source_remove(server->pipe_source); server->pipe_source = NULL; + server->ready = true; struct wlr_xwayland_server_ready_event event = { .server = server, |