summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2017-02-22 14:06:51 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2017-06-29 14:09:33 +0000
commit6dd61b4e62d9b67a721bbf671b7ffd62c0a50809 (patch)
treefd050c3ee90c68a4b1e3d4cc4fed8d39a120dc47 /src/gui
parent5cc5c97554c1e0010f3d2e0ab379a68743b66b53 (diff)
xcb: Replace XCB_USE_XINPUT define by QT_CONFIG macro
.. and remove it from qxcbconnection_xi2.cpp as this file is build _only_ when xinput2 is available. Change-Id: I66d6a299c120fc034f8519cd188e1b845d5bd1bc Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json
index 343cfcf798..a2a78aa071 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -799,7 +799,7 @@
"xinput2": {
"label": "Xinput2",
"emitIf": "features.xcb",
- "condition": "libs.xinput2",
+ "condition": "features.xcb-xlib && libs.xinput2",
"output": [ "privateFeature" ]
},
"xkbcommon-evdev": {