diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 16:14:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 16:14:18 -0500 |
commit | 77dfac4fa4082ce95fc9769861e0b971754b6a66 (patch) | |
tree | cfffb364f9e79dc7acb2dc67075b33f15a1f57c9 /include/xwayland/xwm.h | |
parent | d2d8372cdc20c908342497fcdbfa91b6fc99df82 (diff) | |
parent | 51bfdd620e70c41e1a9fb4ce7831eddfb1bf893b (diff) |
Merge pull request #1372 from emersion/config10
Use #if instead of #ifdef for wlroots config data
Diffstat (limited to 'include/xwayland/xwm.h')
-rw-r--r-- | include/xwayland/xwm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index dc40cc3e..c1be572b 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -5,10 +5,10 @@ #include <wlr/config.h> #include <wlr/xwayland.h> #include <xcb/render.h> -#ifdef WLR_HAS_XCB_ICCCM +#if WLR_HAS_XCB_ICCCM #include <xcb/xcb_icccm.h> #endif -#ifdef WLR_HAS_XCB_ERRORS +#if WLR_HAS_XCB_ERRORS #include <xcb/xcb_errors.h> #endif #include "xwayland/selection.h" @@ -122,7 +122,7 @@ struct wlr_xwm { struct wlr_xwayland_surface *drag_focus; const xcb_query_extension_reply_t *xfixes; -#ifdef WLR_HAS_XCB_ERRORS +#if WLR_HAS_XCB_ERRORS xcb_errors_context_t *errors_context; #endif |