diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-19 17:28:23 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-19 22:07:47 +0200 |
commit | 2176c63856df4e411df0ba3c5eee43f69e977b6e (patch) | |
tree | 31f8211fda628a333abeed8149b238797fa37ce9 /xwayland/xwayland.c | |
parent | 27609ba0d9d140660f0cc077ad7af8670fa0ed21 (diff) |
xwayland: add option to disable WM
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r-- | xwayland/xwayland.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |