summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
authorThomas Jaeger <ThJaeger@gmail.com>2009-01-09 02:02:38 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-09 17:49:26 +1000
commitb2756a71a432f7cf7c870a48676c98625512558d (patch)
tree3b72475228dfe74757f1261148a6f8565e90cfb0 /Xext/xtest.c
parent9bf77569cc8f9b0cc25c99487672d375d7c32f99 (diff)
Xext: Send out correct events in ProcXTestFakeInput
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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 c775b7bcb..c6980f05c 100644
--- a/Xext/xtest.c
+++ b/Xext/xtest.c
@@ -395,7 +395,7 @@ ProcXTestFakeInput(client)
OsBlockSignals();
for (i = 0; i < nevents; i++)
- mieqEnqueue(dev, events->event);
+ mieqEnqueue(dev, (events+i)->event);
OsReleaseSignals();
return client->noClientException;