From bdcf997a8985831fcd88c018e92acab6a9a5ed5c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 10 Oct 2023 16:56:11 +0200 Subject: xwayland/server: add ready flag Allows one to check whether the server is currently ready. --- xwayland/server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xwayland') 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, -- cgit v1.2.3