cosmic-screencopy-v2

This commit is contained in:
Ian Douglas Scott 2024-03-18 17:57:18 -07:00
parent b554dc3177
commit 094c28e105
6 changed files with 511 additions and 321 deletions

View file

@ -152,7 +152,7 @@ impl AppData {
for (source, capture) in self.captures.borrow_mut().iter_mut() {
let matches = self.matches_capture_filter(source);
if matches {
capture.start(&self.screencopy_state.screencopy_manager, &self.qh);
capture.start(&self.screencopy_state, &self.qh);
} else {
capture.stop();
}
@ -167,7 +167,7 @@ impl AppData {
let matches = self.matches_capture_filter(&source);
let capture = Capture::new(source);
if matches {
capture.start(&self.screencopy_state.screencopy_manager, &self.qh);
capture.start(&self.screencopy_state, &self.qh);
}
capture
});