summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r--Xext/xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c
index cb32c2858..96380b769 100644
--- a/Xext/xtest.c
+++ b/Xext/xtest.c
@@ -50,6 +50,7 @@
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include "exglobals.h"
+#include "mipointer.h"
#include "modinit.h"
@@ -162,7 +163,6 @@ ProcXTestFakeInput(ClientPtr client)
int i;
int base = 0;
int flags = 0;
- DeviceIntPtr xtstdevice;
nev = (stuff->length << 2) - sizeof(xReq);
if ((nev % sizeof(xEvent)) || !nev)
@@ -415,7 +415,7 @@ ProcXTestFakeInput(ClientPtr client)
}
for (i = 0; i < nevents; i++)
- mieqProcessDeviceEvent(dev, (events+i)->event, NULL);
+ mieqProcessDeviceEvent(dev, (InternalEvent*)(events+i)->event, NULL);
miPointerUpdateSprite(dev);
return client->noClientException;