aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/rcinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/driver/rcinput.cpp')
-rw-r--r--lib/driver/rcinput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/driver/rcinput.cpp b/lib/driver/rcinput.cpp
index e593087d..2bfeefa1 100644
--- a/lib/driver/rcinput.cpp
+++ b/lib/driver/rcinput.cpp
@@ -89,7 +89,8 @@ eRCDeviceInputDev::eRCDeviceInputDev(eRCInputEventDriver *driver)
void eRCDeviceInputDev::setExclusive(bool b)
{
- driver->setExclusive(!iskeyboard && b);
+ if (!iskeyboard)
+ driver->setExclusive(b);
}
const char *eRCDeviceInputDev::getDescription() const