From f002110fdcc6c43ae4a5c1c0c637e9d4b287aad4 Mon Sep 17 00:00:00 2001 From: Shivang K Raghuvanshi Date: Sat, 23 Mar 2024 15:15:04 +0530 Subject: [PATCH] chore: remove useless roundtrip --- libwayshot/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/libwayshot/src/lib.rs b/libwayshot/src/lib.rs index 3938112a..e2d430a3 100644 --- a/libwayshot/src/lib.rs +++ b/libwayshot/src/lib.rs @@ -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 = state