aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland/server.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-10-10 16:56:11 +0200
committerSimon Ser <contact@emersion.fr>2023-10-10 17:05:04 +0200
commitbdcf997a8985831fcd88c018e92acab6a9a5ed5c (patch)
treec9d171c47f901d2a41ab466d66d62bc44dd4aa14 /include/wlr/xwayland/server.h
parent45ba35719e874f7e8651e088c0582fe50301e731 (diff)
xwayland/server: add ready flag
Allows one to check whether the server is currently ready.
Diffstat (limited to 'include/wlr/xwayland/server.h')
-rw-r--r--include/wlr/xwayland/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/xwayland/server.h b/include/wlr/xwayland/server.h
index 7eb3bc2a..fa16a3b0 100644
--- a/include/wlr/xwayland/server.h
+++ b/include/wlr/xwayland/server.h
@@ -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;