On Thu, Aug 19, 2010 at 12:33:57AM -0500, David Ge wrote: > Xorg.log shows error: Valuators reported for non-valuator device. > This is caused by uninitialized valuators.mask in _XkbFilterRedirectKey(), > which trigger the error in UpdateDeviceState(). > > Signed-off-by: David Ge <[email protected]> > --- > xkb/xkbActions.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c > index b0ab427..5b39dc9 100644 > --- a/xkb/xkbActions.c > +++ b/xkb/xkbActions.c > @@ -790,7 +790,8 @@ ProcessInputProc backupproc; > /* never actually used uninitialised, but gcc isn't smart enough > * to work that out. */ > memset(&old, 0, sizeof(old)); > - > + memset(&ev, 0, sizeof(ev)); > + > if ((filter->keycode!=0)&&(filter->keycode!=keycode)) > return 1; > > -- > 1.7.0.4
thanks, merged. Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
