Remove EVIOCGRAB setting.
authoroskwon <oskwon@dev3>
Thu, 27 Nov 2014 07:02:25 +0000 (16:02 +0900)
committeroskwon <oskwon@dev3>
Thu, 27 Nov 2014 07:02:25 +0000 (16:02 +0900)
xbmc/input/linux/LinuxInputDevices.cpp

index e23d626..506cfff 100644 (file)
@@ -1143,8 +1143,9 @@ bool CLinuxInputDevice::Open()
   return true;
 
 driver_open_device_error:
-
+#ifndef TARGET_DVBBOX // oskwon
   ioctl(fd, EVIOCGRAB, 0);
+#endif /*TARGET_DVBBOX*/
   if (m_vt_fd >= 0)
   {
     close(m_vt_fd);
@@ -1218,9 +1219,10 @@ bool CLinuxInputDevice::GetKeymapEntry(KeymapEntry& entry)
  */
 void CLinuxInputDevice::Close()
 {
+#ifndef TARGET_DVBBOX // oskwon
   /* release device */
   ioctl(m_fd, EVIOCGRAB, 0);
-
+#endif /*TARGET_DVBBOX*/
   if (m_vt_fd >= 0)
     close(m_vt_fd);