aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/rcinput.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-02-13 18:47:15 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-02-13 18:47:15 +0100
commit49d3b0f03998616458f86c340b4bbb39f0ab4c4e (patch)
tree70aacfc7e49f3f342b851eee105b39b5500b81b9 /lib/driver/rcinput.cpp
parent4731ddecbf9d91941d9e4f0f43bf4504241596fb (diff)
downloadenigma2-49d3b0f03998616458f86c340b4bbb39f0ab4c4e.tar.gz
enigma2-49d3b0f03998616458f86c340b4bbb39f0ab4c4e.zip
lib/driver/rc.cpp,rcinput.cpp: only do EVIOCGRAB when event bit 0x1E is set in event device evbits
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