Skip to content

Commit

Permalink
feat: use blocking_dispatch when sending wayland events
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericky Dos Santos committed Dec 23, 2024
1 parent c947ba4 commit f594633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamescope/wayland/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl WaylandManager {
log::error!("Could not flush wayland queue, err:{err:?}");
err.to_string()
})?;
event_queue.dispatch_pending(state).map_err(|err| {
event_queue.blocking_dispatch(state).map_err(|err| {
log::error!("Could not dispatch pending events, err:{err:?}");
err.to_string()
})
Expand Down

0 comments on commit f594633

Please sign in to comment.