aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/desktop.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-09 08:09:03 -0400
committerGitHub <noreply@github.com>2017-10-09 08:09:03 -0400
commitd0d6413772a09f385bc16f5fc38eda114695ee16 (patch)
tree59ea3b1a314ede560f90f6e8b1058c1b54b90161 /include/rootston/desktop.h
parent7aa0e949b3849428aad426533e719562d7bb8ef9 (diff)
parent9cab66f0f914a0194cdfa178377f6413c33ac515 (diff)
Merge pull request #220 from versusvoid/optional-xwayland
Make Xwayland optional
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r--include/rootston/desktop.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 68fc5b94..1225bdcd 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -35,15 +35,18 @@ struct roots_desktop {
struct wlr_compositor *compositor;
struct wlr_wl_shell *wl_shell;
struct wlr_xdg_shell_v6 *xdg_shell_v6;
- struct wlr_xwayland *xwayland;
struct wlr_gamma_control_manager *gamma_control_manager;
struct wlr_screenshooter *screenshooter;
struct wl_listener output_add;
struct wl_listener output_remove;
struct wl_listener xdg_shell_v6_surface;
- struct wl_listener xwayland_surface;
struct wl_listener wl_shell_surface;
+
+#ifdef HAS_XWAYLAND
+ struct wlr_xwayland *xwayland;
+ struct wl_listener xwayland_surface;
+#endif
};
struct roots_server;