cosmic-screencopy-v2
This commit is contained in:
parent
b554dc3177
commit
094c28e105
6 changed files with 511 additions and 321 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue