summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Braun2010-10-06 00:05:54 +0200
committerSebastien Braun2010-10-06 00:05:54 +0200
commit76756513af78ff0c96cdbcad91727f26f48cc922 (patch)
tree569161ae6f60d7d3cad33a7d1f35e4cc85134633
parentMerge remote branch 'openslx/mcastft' into input (diff)
downloadpvs-76756513af78ff0c96cdbcad91727f26f48cc922.tar.gz
pvs-76756513af78ff0c96cdbcad91727f26f48cc922.tar.xz
pvs-76756513af78ff0c96cdbcad91727f26f48cc922.zip
Fix typo that prevents correct compilation when XInput2.h is present
-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++)