Skip to content

Commit

Permalink
chore: remove useless roundtrip (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivkr6 authored Mar 23, 2024
1 parent 8f22e6d commit 9e7919e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libwayshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ impl WayshotConnection {
// Fetch all outputs; when their names arrive, add them to the list
let _ = self.conn.display().get_registry(&qh, ());
event_queue.roundtrip(&mut state)?;
event_queue.roundtrip(&mut state)?;

// We loop over each output and request its position data.
let xdg_outputs: Vec<ZxdgOutputV1> = state
Expand Down

0 comments on commit 9e7919e

Please sign in to comment.