Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(931)

Side by Side Diff: x11-base/xorg-server/files/1.7.6-fix-xkb-redirect-key.patch

Issue 3364001: X: Map Alt-Up and Alt-Down to Page Up and Page Down. (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This patch, by David Ge, fixes an uninitialized valuators.mask in
2 _XkbFilterRedirectKey(), which makes XKB RedirectKey actions do nothing but
3 log "Valuators reported for non-valuator device." errors. It was
4 upstreamed on 2010-08-19.
5
6 http://www.mail-archive.com/xorg-devel@lists.x.org/msg11701.html
7
8 diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c
9 index b0ab427..4c366ba 100644
10 --- a/xkb/xkbActions.c
11 +++ b/xkb/xkbActions.c
12 @@ -790,6 +790,7 @@ ProcessInputProc backupproc;
13 /* never actually used uninitialised, but gcc isn't smart enough
14 * to work that out. */
15 memset(&old, 0, sizeof(old));
16 + memset(&ev, 0, sizeof(ev));
17
18 if ((filter->keycode!=0)&&(filter->keycode!=keycode))
19 return 1;
OLDNEW
« no previous file with comments | « x11-base/xorg-server/files/1.7.6-fix-xkb-autorepeat.patch ('k') | x11-base/xorg-server/xorg-server-1.7.6.ebuild » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698