diff --git a/mi/mieq.c b/mi/mieq.c
index b7be193fee859f8e24f793432b6c97c8343655c6..f7d8721e1b2dde5895046ce1bc256450c46be539 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -576,7 +576,7 @@ mieqProcessInputEvents(void)
 {
     EventRec *e = NULL;
     ScreenPtr screen;
-    static InternalEvent event;
+    InternalEvent event;
     DeviceIntPtr dev = NULL, master = NULL;
     size_t n_enqueued;