Xext: init firstValuator to zero, otherwise core XTest events may get lost.

This commit is contained in:
Peter Hutterer 2008-06-11 15:01:36 +09:30
parent 6ab311c92d
commit 6528eb885d

View File

@ -167,7 +167,7 @@ ProcXTestFakeInput(client)
deviceValuator *dv = NULL;
int valuators[MAX_VALUATORS] = {0};
int numValuators = 0;
int firstValuator;
int firstValuator = 0;
EventListPtr events;
int nevents;
int i;