From 2176c63856df4e411df0ba3c5eee43f69e977b6e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 19 May 2020 17:28:23 +0200 Subject: xwayland: add option to disable WM --- xwayland/xwayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xwayland/xwayland.c') diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index ae86d541..a28cd402 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -85,7 +85,11 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, wl_signal_init(&xwayland->events.new_surface); wl_signal_init(&xwayland->events.ready); - xwayland->server = wlr_xwayland_server_create(wl_display, lazy); + struct wlr_xwayland_server_options options = { + .lazy = lazy, + .enable_wm = true, + }; + xwayland->server = wlr_xwayland_server_create(wl_display, &options); if (xwayland->server == NULL) { free(xwayland->server); return NULL; -- cgit v1.2.3