aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r--include/wlr/xwayland.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 6a83e08a..1f0e5019 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -19,6 +19,11 @@
struct wlr_xwm;
struct wlr_xwayland_cursor;
+struct wlr_xwayland_server_options {
+ bool lazy;
+ bool enable_wm;
+};
+
struct wlr_xwayland_server {
pid_t pid;
struct wl_client *client;
@@ -33,8 +38,7 @@ struct wlr_xwayland_server {
char display_name[16];
int x_fd[2];
struct wl_event_source *x_fd_read_event[2];
- bool lazy;
- bool enable_wm;
+ struct wlr_xwayland_server_options options;
struct wl_display *wl_display;
@@ -49,11 +53,6 @@ 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;