summaryrefslogtreecommitdiff
authorThomas Jaeger <ThJaeger@gmail.com>2009-01-09 07:02:38 (GMT)
committer Peter Hutterer <peter.hutterer@who-t.net>2009-01-09 07:49:26 (GMT)
commitb2756a71a432f7cf7c870a48676c98625512558d (patch) (side-by-side diff)
tree3b72475228dfe74757f1261148a6f8565e90cfb0
parent9bf77569cc8f9b0cc25c99487672d375d7c32f99 (diff)
downloadxserver-b2756a71a432f7cf7c870a48676c98625512558d.zip
xserver-b2756a71a432f7cf7c870a48676c98625512558d.tar.gz
Xext: Send out correct events in ProcXTestFakeInput
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Xext/xtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c
index c775b7b..c6980f0 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;