summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-11 15:01:36 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-11 17:24:19 +0930
commit6528eb885dea0326aacdd026d44d82ab07f4a4fd (patch)
tree4112a6799870ed67d9817ef4d07eaf18d00cb401 /Xext/xtest.c
parent6ab311c92d036dc63ee92ab4bb231f5f61ebe69f (diff)
Xext: init firstValuator to zero, otherwise core XTest events may get lost.
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r--Xext/xtest.c2
1 files changed, 1 insertions, 1 deletions
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;