aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-03 13:35:40 -0400
committeremersion <contact@emersion.fr>2018-04-03 13:35:40 -0400
commit41fccb8507bcc1b18cff0c785c5697f9f0bdceda (patch)
tree298e556ad172487173320012c8080065d940cedb /backend/x11
parent591ea27cf9bab54d966f47b9856a53b523af735a (diff)
parent31c6ce13cde01bbb3921a520b6a8db6427da3094 (diff)
Merge branch 'master' into xwayland-dnd
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/input_device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index 32b1a1ac..6c7c444c 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -1,3 +1,4 @@
+#include <wlr/config.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_pointer.h>
@@ -8,6 +9,9 @@
#elif __FreeBSD__
#include <dev/evdev/input-event-codes.h>
#endif
+#ifdef WLR_HAS_XCB_XKB
+#include <xcb/xkb.h>
+#endif
#include "backend/x11.h"
#include "util/signal.h"