From 9e7919e56021c1ef53057e697f9e45ac80c6210b Mon Sep 17 00:00:00 2001 From: Shivang K Raghuvanshi <136506971+shivkr6@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:07:02 +0530 Subject: [PATCH] chore: remove useless roundtrip (#105) --- 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