Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110616 Details for
Bug 167602
x11-misc/xinput-1.2 doesn't map buttons properly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes the bug.
diff (text/plain), 546 bytes, created by
Evgeny Stambulchik
on 2007-02-19 10:43:45 UTC
(
hide
)
Description:
Patch that fixes the bug.
Filename:
MIME Type:
Creator:
Evgeny Stambulchik
Created:
2007-02-19 10:43:45 UTC
Size:
546 bytes
patch
obsolete
>--- buttonmap.c.orig 1997-06-09 19:06:49.000000000 +0300 >+++ buttonmap.c 2007-02-19 12:25:27.000000000 +0200 >@@ -76,10 +76,10 @@ > > XGetDeviceButtonMapping(display, device, map, nbuttons); > >- min = (argc > nbuttons + 1) ? nbuttons + 1 : argc; >+ min = (argc - 2 > nbuttons) ? nbuttons : argc - 2; > >- for(idx=1; idx < min; idx++) { >- map[idx - 1] = atoi(argv[idx]); >+ for(idx = 0; idx < min; idx++) { >+ map[idx] = atoi(argv[idx + 2]); > } > XSetDeviceButtonMapping(display, device, map, nbuttons); > XCloseDevice(display, device);
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 167602
: 110616