forked from osmc/osmc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kodi: disable grabbing of input devices in libinput handler
- Loading branch information
1 parent
d1aeb02
commit 572a961
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
package/mediacenter-next-osmc/patches/all-003-disable-libinput-grabbing.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From d87e327409496a65ededb4a45743530f0ebba3df Mon Sep 17 00:00:00 2001 | ||
From: Greg McCarthy <greg@gjmccarthy.co.uk> | ||
Date: Thu, 3 May 2018 20:30:19 +0100 | ||
Subject: [PATCH] kodi: disable grabbing of input devices in libinput handler | ||
|
||
--- | ||
xbmc/platform/linux/input/LibInputHandler.cpp | 6 ------ | ||
1 file changed, 6 deletions(-) | ||
|
||
diff --git a/xbmc/platform/linux/input/LibInputHandler.cpp b/xbmc/platform/linux/input/LibInputHandler.cpp | ||
index 16d772d1b5..298e814034 100644 | ||
--- a/xbmc/platform/linux/input/LibInputHandler.cpp | ||
+++ b/xbmc/platform/linux/input/LibInputHandler.cpp | ||
@@ -42,12 +42,6 @@ static int open_restricted(const char *path, int flags, void __attribute__((unus | ||
return -errno; | ||
} | ||
|
||
- auto ret = ioctl(fd, EVIOCGRAB, (void*)1); | ||
- if (ret < 0) | ||
- { | ||
- CLog::Log(LOGDEBUG, "%s - grab requested, but failed for %s (%s)", __FUNCTION__, path, strerror(errno)); | ||
- } | ||
- | ||
return fd; | ||
} | ||
|
||
-- | ||
2.12.3 | ||
|