diff --git a/src/loop_logic.rs b/src/loop_logic.rs index 32e423e2..3a61e2d6 100644 --- a/src/loop_logic.rs +++ b/src/loop_logic.rs @@ -385,7 +385,7 @@ impl<'l, Data> EventLoop<'l, Data> { } } - for event in events { + for event in self.synthetic_events.drain(..).chain(events) { // Get the registration token associated with the event. let registroken_token = event.token.key & MAX_SOURCES_MASK;