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 27, 2023
1 parent fcff1d7 commit 55165b5
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 55165b5

Please sign in to comment.