diff options
author | Rhinoceros | 2020-05-19 23:24:03 +1000 |
---|---|---|
committer | Rhinoceros | 2020-05-19 23:24:03 +1000 |
commit | 81dfa0f2890a4425b15a8c285a5d7971b4c1c1b2 (patch) | |
tree | 40949da2bfa8717ef2534c3d4c02ed00183b6331 /new_kernel.patch | |
parent | 0d756c0e58f9e56a5056fb1b0270cb0669469879 (diff) | |
download | aur-81dfa0f2890a4425b15a8c285a5d7971b4c1c1b2.tar.gz |
Update to 2.10.6-3
* Source updated patch from upstream
* This includes new_kernel.patch, so remove it from here
* Fix timestamps for build
* Install bundled example config to /etc/X11/xorg.conf.d, and track in backup
* Install README
Diffstat (limited to 'new_kernel.patch')
-rw-r--r-- | new_kernel.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/new_kernel.patch b/new_kernel.patch deleted file mode 100644 index 8c4d39d51693..000000000000 --- a/new_kernel.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/src/evdev.c b/src/evdev.c -index 650be6b..d53cef3 100644 ---- a/src/evdev.c -+++ b/src/evdev.c -@@ -323,8 +323,14 @@ static int ahmTimedOutP(long int lastSec, long int lastUsec, struct input_event - return 0; - } - -- if( (ev->time.tv_sec - lastSec) * 1000 -- + (ev->time.tv_usec - lastUsec) / 1000 -+ /* Seems like in newer kernels (>= 5.5), the timestamp of a key release -+ is that of the press event */ -+ -+ struct timeval tv; -+ gettimeofday(&tv, NULL); -+ -+ if( (tv.tv_sec - lastSec) * 1000 -+ + (tv.tv_usec - lastUsec) / 1000 - > timeOut){ - return 1; - }else{ |