diff options
author | emersion <contact@emersion.fr> | 2018-11-12 10:12:46 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-12 10:12:46 +0100 |
commit | 51bfdd620e70c41e1a9fb4ce7831eddfb1bf893b (patch) | |
tree | f32586aa88e18d9bfec7cbcbeb5c682b2f35fb4a /include/backend | |
parent | 3181c4bec06d2fe51da052c0a08c8287725ec900 (diff) |
Use #if instead of #ifdef for wlroots config data
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/x11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index 37e3e4b6..06803768 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -64,7 +64,7 @@ struct wlr_x11_backend { // A blank cursor xcb_cursor_t cursor; -#ifdef WLR_HAS_XCB_XKB +#if WLR_HAS_XCB_XKB bool xkb_supported; uint8_t xkb_base_event; uint8_t xkb_base_error; |