diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-13 18:47:15 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-13 18:47:41 +0100 |
| commit | 1fc2700e351c0297089925aba6c3a7b890dfb077 (patch) | |
| tree | 0b90771f6201b23393da84f8eaeb6bf33d86179c /lib/driver/rcinput.cpp | |
| parent | a37ddbb7785de5f1d944f4937a5b2914ce6a3862 (diff) | |
| download | enigma2-1fc2700e351c0297089925aba6c3a7b890dfb077.tar.gz enigma2-1fc2700e351c0297089925aba6c3a7b890dfb077.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.cpp | 3 |
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 |
