diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 04:30:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 04:30:05 -0500 |
commit | 47f9f91d157c9f650afe1172b3bb2d52def66a10 (patch) | |
tree | 27d6bd1104a3d3795905adfcd9e442aa28c4bf9c /include/rootston/view.h | |
parent | 4d744aeb230f36d990c102a89314f95ff802ca75 (diff) | |
parent | 57a09c8ca45e0ec023b7be88745b21fc71649c52 (diff) |
Merge pull request #523 from besser82/bugfix/config_header
config: Put all defines into config.h
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r-- | include/rootston/view.h | 5 |
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 }; |