diff options
-rw-r--r-- | src/Manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Manager.cpp b/src/Manager.cpp index 5ef35e1..8a44b72 100644 --- a/src/Manager.cpp +++ b/src/Manager.cpp @@ -124,7 +124,7 @@ void Manager::initXi() currDevice = &devices[--devicecount]; - if ((currDevice->use & IsXExtensionPointer)) + if ((currDevice->use == IsXExtensionPointer)) { try { @@ -135,8 +135,7 @@ void Manager::initXi() { ERR("%s\n", e->message.c_str()); } - } - if ((currDevice->use & IsXExtensionKeyboard)) + } else if ((currDevice->use == IsXExtensionKeyboard)) { try { |