From ffbeaa25e0290fa0f974e4e1b4697003c4058187 Mon Sep 17 00:00:00 2001 From: Thorvald Natvig Date: Sat, 26 Feb 2011 00:37:49 -0800 Subject: XInput 2.0 support --- src/mumble/GlobalShortcut_unix.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mumble/GlobalShortcut_unix.h') diff --git a/src/mumble/GlobalShortcut_unix.h b/src/mumble/GlobalShortcut_unix.h index 3a73b11d1..014567978 100644 --- a/src/mumble/GlobalShortcut_unix.h +++ b/src/mumble/GlobalShortcut_unix.h @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #ifdef Q_OS_LINUX #include @@ -48,15 +48,13 @@ class GlobalShortcutX : public GlobalShortcutEngine { private: Q_OBJECT Q_DISABLE_COPY(GlobalShortcutX) - QMap startScreensConnection(Display *); public: Display *display; + QSet qsRootWindows; + int iXIopcode; volatile bool bRunning; - QMap qmConnections; - bool bXInput; QSet qsKeyboards; QMap qmInputDevices; - QMap *> qmXDevices; GlobalShortcutX(); ~GlobalShortcutX(); -- cgit v1.2.3