aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-25 12:00:26 +0200
committerKenny Levinsen <kl@kl.wtf>2022-05-07 19:25:44 +0000
commit352064d76d459b499b39a99f889f96f40987f0e9 (patch)
tree761960b131a00d9aef86c41943e7806f1f0497cd /include/wlr
parent7ad67e0f1db486bf0994128f9750115722eef6d5 (diff)
xwayland: add wlr_xwayland_server_options.terminate_delay
This allows users to specify a delay after which the Xwayland process terminates itself when there are no more X11 clients connected.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index d4a48393..165ea944 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -24,6 +24,7 @@ struct wlr_xwayland_server_options {
bool lazy;
bool enable_wm;
bool no_touch_pointer_emulation;
+ int terminate_delay; // in seconds, 0 to terminate immediately
};
struct wlr_xwayland_server {