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.
This commit is contained in:
Simon Ser 2021-06-25 12:00:26 +02:00 committed by Kenny Levinsen
parent 7ad67e0f1d
commit 352064d76d
3 changed files with 18 additions and 1 deletions

View file

@ -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 {