From 6528eb885dea0326aacdd026d44d82ab07f4a4fd Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 11 Jun 2008 15:01:36 +0930 Subject: [PATCH] Xext: init firstValuator to zero, otherwise core XTest events may get lost. --- Xext/xtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xext/xtest.c b/Xext/xtest.c index ad70aa8e4..8e96f6573 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -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;