summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/x11FakeKeyboardHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/x11FakeKeyboardHandler.cpp b/src/input/x11FakeKeyboardHandler.cpp
index b1492e7..0c32b66 100644
--- a/src/input/x11FakeKeyboardHandler.cpp
+++ b/src/input/x11FakeKeyboardHandler.cpp
@@ -545,7 +545,7 @@ void initialize_basic_keycodes()
XIDeviceInfo* devinfos = XIQueryDevice(dpy, XIAllDevices, &ndevinfos);
if(devinfos)
{
-#ifndef HAVE_INPUT2_H
+#ifndef HAVE_XINPUT2_H
# define deviceid id
#endif
for(int i = 0; i < ndevinfos && xkbDeviceId == XkbUseCoreKbd; i++)