Skip to content

Commit

Permalink
Actually use the synthetic events
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Aug 28, 2023
1 parent 2751daf commit 9bfaa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loop_logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9bfaa1c

Please sign in to comment.