Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltg committed Oct 8, 2024
1 parent 4198eeb commit 8610fbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cap_ext_image_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ impl Dispatch<ExtImageCopyCaptureFrameV1, ()> for State<CapExtImageCopy> {
) {
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,
Expand Down
5 changes: 4 additions & 1 deletion src/cap_wlr_screencopy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ impl CaptureSource for CapWlrScreencopy {
}
}

fn queue_capture_frame(&self, eq: &QueueHandle<State<Self>>) -> Option<(u32, u32, u32, Self::Frame)> {
fn queue_capture_frame(
&self,
eq: &QueueHandle<State<Self>>,
) -> Option<(u32, u32, u32, Self::Frame)> {
// creating this triggers the linux_dmabuf event, which is where we allocate etc

let _capture = self
Expand Down

0 comments on commit 8610fbc

Please sign in to comment.