summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
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;