From 8610fbc898ce87d85c8a88ce45356c6db2e0dc0f Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Mon, 7 Oct 2024 23:40:59 -0600 Subject: [PATCH] fmt --- src/cap_ext_image_copy.rs | 4 ++-- src/cap_wlr_screencopy.rs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/cap_ext_image_copy.rs b/src/cap_ext_image_copy.rs index 0e7b452..3b7e62c 100644 --- a/src/cap_ext_image_copy.rs +++ b/src/cap_ext_image_copy.rs @@ -93,8 +93,8 @@ impl Dispatch for State { ) { use wayland_protocols::ext::image_copy_capture::v1::client::ext_image_copy_capture_frame_v1::Event::*; match event { - Transform { .. } => {}, - Damage { .. } => {}, // TODO: maybe this is how you implement damage + Transform { .. } => {} + Damage { .. } => {} // TODO: maybe this is how you implement damage PresentationTime { tv_sec_hi, tv_sec_lo, diff --git a/src/cap_wlr_screencopy.rs b/src/cap_wlr_screencopy.rs index 35bc4ac..a0da996 100644 --- a/src/cap_wlr_screencopy.rs +++ b/src/cap_wlr_screencopy.rs @@ -91,7 +91,10 @@ impl CaptureSource for CapWlrScreencopy { } } - fn queue_capture_frame(&self, eq: &QueueHandle>) -> Option<(u32, u32, u32, Self::Frame)> { + fn queue_capture_frame( + &self, + eq: &QueueHandle>, + ) -> Option<(u32, u32, u32, Self::Frame)> { // creating this triggers the linux_dmabuf event, which is where we allocate etc let _capture = self