summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-22 13:15:13 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-22 13:15:21 +0930
commitcb34a86e8e6fbc5966432e1234c610a24ea03392 (patch)
tree9f74acd294b7d74c478e250e6484fdc1c49878f5
parent3994c4868421752803bbd10f07ab64587d68a7b9 (diff)
Announce support for XI 2 to the server.
-rw-r--r--src/Manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Manager.cpp b/src/Manager.cpp
index f6b7ee6..084d135 100644
--- a/src/Manager.cpp
+++ b/src/Manager.cpp
@@ -120,6 +120,7 @@ void Manager::initXi()
XDeviceInfo* devices;
int devicecount;
+ XQueryInputVersion(x11->dpy, XI_2_Major, XI_2_Minor);
devices = XListInputDevices(x11->dpy, &devicecount);
if (devicecount <= 0)