aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.h
diff options
context:
space:
mode:
authorVersus Void <versusvoid@gmail.com>2017-10-06 21:50:25 +0000
committerVersus Void <versusvoid@gmail.com>2017-10-06 21:50:25 +0000
commit9cab66f0f914a0194cdfa178377f6413c33ac515 (patch)
tree8d179324b682a64ac4613c4979e7e628d2a14494 /include/rootston/view.h
parentdecd87043fbe2dfef3b664455298b68604ee0485 (diff)
Make xwayland compile-time 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 39ff80db..2a90670e 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -49,12 +49,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