xwayland/server: add ready flag

Allows one to check whether the server is currently ready.
This commit is contained in:
Simon Ser 2023-10-10 16:56:11 +02:00
parent 45ba35719e
commit bdcf997a89
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ struct wlr_xwayland_server {
struct wl_client *client;
struct wl_event_source *pipe_source;
int wm_fd[2], wl_fd[2];
bool ready;
time_t server_start;