aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.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/view.h
parent7aa0e949b3849428aad426533e719562d7bb8ef9 (diff)
parent9cab66f0f914a0194cdfa178377f6413c33ac515 (diff)
Merge pull request #220 from versusvoid/optional-xwayland
Make Xwayland optional
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 0b68f93f..af087182 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -58,12 +58,16 @@ struct roots_view {
union {
struct wlr_wl_shell_surface *wl_shell_surface;
struct wlr_xdg_surface_v6 *xdg_surface_v6;
+#ifdef HAS_XWAYLAND
struct wlr_xwayland_surface *xwayland_surface;
+#endif
};
union {
struct roots_wl_shell_surface *roots_wl_shell_surface;
struct roots_xdg_surface_v6 *roots_xdg_surface_v6;
+#ifdef HAS_XWAYLAND
struct roots_xwayland_surface *roots_xwayland_surface;
+#endif
};
struct wlr_surface *wlr_surface;
// TODO: This would probably be better as a field that's updated on a