aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.h
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2017-12-26 18:51:27 +0100
committerBjörn Esser <besser82@fedoraproject.org>2017-12-26 18:51:27 +0100
commit57a09c8ca45e0ec023b7be88745b21fc71649c52 (patch)
tree27d6bd1104a3d3795905adfcd9e442aa28c4bf9c /include/rootston/view.h
parent4d744aeb230f36d990c102a89314f95ff802ca75 (diff)
config: Put all defines into config.h
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index bb7297d0..53e96764 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -2,6 +2,7 @@
#define _ROOTSTON_VIEW_H
#include <stdbool.h>
+#include "config.h"
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_surface.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
@@ -79,14 +80,14 @@ struct roots_view {
union {
struct wlr_wl_shell_surface *wl_shell_surface;
struct wlr_xdg_surface_v6 *xdg_surface_v6;
-#ifdef HAS_XWAYLAND
+#ifdef WLR_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
+#ifdef WLR_HAS_XWAYLAND
struct roots_xwayland_surface *roots_xwayland_surface;
#endif
};