xwayland: terminate when no client is connected

Automatically shutdown Xwayland 10s after all X11 clients have
gone away.
This commit is contained in:
Simon Ser 2021-06-25 13:49:47 +02:00 committed by Kenny Levinsen
parent 352064d76d
commit f575e445ec
4 changed files with 19 additions and 0 deletions

View file

@ -122,6 +122,7 @@ struct wlr_xwm {
const xcb_query_extension_reply_t *xfixes;
const xcb_query_extension_reply_t *xres;
uint32_t xfixes_major_version;
#if HAS_XCB_ERRORS
xcb_errors_context_t *errors_context;
#endif