mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwayland: add option to disable WM
This commit is contained in:
parent
27609ba0d9
commit
2176c63856
3 changed files with 48 additions and 13 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue