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 /include | |
parent | 27609ba0d9d140660f0cc077ad7af8670fa0ed21 (diff) |
xwayland: add option to disable WM
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/xwayland.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index c4c5842c..03201718 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -34,6 +34,7 @@ struct wlr_xwayland_server { int x_fd[2]; struct wl_event_source *x_fd_read_event[2]; bool lazy; + bool enable_wm; struct wl_display *wl_display; @@ -48,6 +49,11 @@ struct wlr_xwayland_server { void *data; }; +struct wlr_xwayland_server_options { + bool lazy; + bool enable_wm; +}; + struct wlr_xwayland_server_ready_event { struct wlr_xwayland_server *server; int wm_fd; @@ -216,7 +222,7 @@ struct wlr_xwayland_resize_event { }; struct wlr_xwayland_server *wlr_xwayland_server_create( - struct wl_display *display, bool lazy); + struct wl_display *display, struct wlr_xwayland_server_options *options); void wlr_xwayland_server_destroy(struct wlr_xwayland_server *server); /** Create an Xwayland server and XWM. |