diff options
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 65d96e7a..96cad69d 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <wlr/types/wlr_xdg_shell.h> | 11 | #include <wlr/types/wlr_xdg_shell.h> |
12 | #include <wlr/render/wlr_renderer.h> | 12 | #include <wlr/render/wlr_renderer.h> |
13 | // TODO WLR: make Xwayland optional | 13 | // TODO WLR: make Xwayland optional |
14 | #include <wlr/xwayland.h> | 14 | #include "sway/xwayland.h" |
15 | 15 | ||
16 | struct sway_server { | 16 | struct sway_server { |
17 | struct wl_display *wl_display; | 17 | struct wl_display *wl_display; |
@@ -37,12 +37,9 @@ struct sway_server { | |||
37 | struct wlr_xdg_shell *xdg_shell; | 37 | struct wlr_xdg_shell *xdg_shell; |
38 | struct wl_listener xdg_shell_surface; | 38 | struct wl_listener xdg_shell_surface; |
39 | 39 | ||
40 | struct wlr_xwayland *xwayland; | 40 | struct sway_xwayland xwayland; |
41 | struct wlr_xcursor_manager *xcursor_manager; | ||
42 | struct wl_listener xwayland_surface; | 41 | struct wl_listener xwayland_surface; |
43 | 42 | struct wl_listener xwayland_ready; | |
44 | struct wlr_wl_shell *wl_shell; | ||
45 | struct wl_listener wl_shell_surface; | ||
46 | }; | 43 | }; |
47 | 44 | ||
48 | struct sway_server server; | 45 | struct sway_server server; |