From 57a09c8ca45e0ec023b7be88745b21fc71649c52 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Tue, 26 Dec 2017 18:51:27 +0100 Subject: config: Put all defines into config.h --- xwayland/xwm.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xwayland') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 6cbe9bda..f373e128 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -7,6 +7,7 @@ #include #include #include +#include "config.h" #include "wlr/util/log.h" #include "wlr/util/edges.h" #include "wlr/types/wlr_surface.h" @@ -14,7 +15,7 @@ #include "wlr/xcursor.h" #include "wlr/xwm.h" -#ifdef HAS_XCB_ICCCM +#ifdef WLR_HAS_XCB_ICCCM #include #endif @@ -365,7 +366,7 @@ static void read_surface_protocols(struct wlr_xwm *xwm, wlr_log(L_DEBUG, "WM_PROTOCOLS (%zu)", atoms_len); } -#ifdef HAS_XCB_ICCCM +#ifdef WLR_HAS_XCB_ICCCM static void read_surface_hints(struct wlr_xwm *xwm, struct wlr_xwayland_surface *xsurface, xcb_get_property_reply_t *reply) { @@ -396,7 +397,7 @@ static void read_surface_hints(struct wlr_xwm *xwm, } #endif -#ifdef HAS_XCB_ICCCM +#ifdef WLR_HAS_XCB_ICCCM static void read_surface_normal_hints(struct wlr_xwm *xwm, struct wlr_xwayland_surface *xsurface, xcb_get_property_reply_t *reply) { -- cgit v1.2.3