mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwayland: terminate when no client is connected
Automatically shutdown Xwayland 10s after all X11 clients have gone away.
This commit is contained in:
parent
352064d76d
commit
f575e445ec
4 changed files with 19 additions and 0 deletions
|
|
@ -74,3 +74,9 @@ wlr_files += files(
|
|||
)
|
||||
wlr_deps += xwayland_libs
|
||||
features += { 'xwayland': true }
|
||||
|
||||
have = cc.has_function('xcb_xfixes_set_client_disconnect_mode', dependencies: xwayland_libs)
|
||||
add_project_arguments(
|
||||
'-DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=@0@'.format(have.to_int()),
|
||||
language: 'c',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue