OLD | NEW |
(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; |
OLD | NEW |