Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184571 Details for
Bug 261947
xf86-input-evdev-2.2.0 breaks left-arrow button
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/2.2.0-fix-repeat-filtering.patch
2.2.0-fix-repeat-filtering.patch (text/plain), 1.41 KB, created by
Magnus Kessler
on 2009-03-10 14:19:09 UTC
(
hide
)
Description:
files/2.2.0-fix-repeat-filtering.patch
Filename:
MIME Type:
Creator:
Magnus Kessler
Created:
2009-03-10 14:19:09 UTC
Size:
1.41 KB
patch
obsolete
>From a7fb654a68a26ad5f019a902312c6b94dbe9c3ea Mon Sep 17 00:00:00 2001 >From: Peter Hutterer <peter.hutterer@who-t.net> >Date: Tue, 10 Mar 2009 05:17:53 +0000 >Subject: Restore repeat-filtering for server 1.5 and earlier. > >Letting the server deal with key repeats is fine if we have server 1.6. For >earlier servers, we need to pass on the repeat events (except for modifier >keys). > >Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> >Tested-by: Marty Jack <martyj19@comcast.net> >--- >diff --git a/src/evdev.c b/src/evdev.c >index 04bce96..bc29ac9 100644 >--- a/src/evdev.c >+++ b/src/evdev.c >@@ -263,8 +263,17 @@ PostKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value) > static char warned[KEY_CNT]; > > /* Filter all repeated events from device. >- We'll do softrepeat in the server */ >- if (value == 2) >+ We'll do softrepeat in the server, but only since 1.6 */ >+ if (value == 2 >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) <= 2 >+ && (ev->code == KEY_LEFTCTRL || ev->code == KEY_RIGHTCTRL || >+ ev->code == KEY_LEFTSHIFT || ev->code == KEY_RIGHTSHIFT || >+ ev->code == KEY_LEFTALT || ev->code == KEY_RIGHTALT || >+ ev->code == KEY_LEFTMETA || ev->code == KEY_RIGHTMETA || >+ ev->code == KEY_CAPSLOCK || ev->code == KEY_NUMLOCK || >+ ev->code == KEY_SCROLLLOCK) /* XXX windows keys? */ >+#endif >+ ) > return; > > if (code > 255) >-- >cgit v0.8.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261947
:
184569
| 184571