We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
info!
FailureReason::Stopped
1 parent e679ac5 commit 5dc4ce9Copy full SHA for 5dc4ce9
src/backend/wayland/screencopy.rs
@@ -243,7 +243,11 @@ impl ScreencopyHandler for AppData {
243
session.attach_buffer_and_commit(&capture, conn, &self.qh);
244
} else {
245
// TODO
246
- log::error!("Screencopy failed: {:?}", reason);
+ if reason == WEnum::Value(FailureReason::Stopped) {
247
+ log::info!("Screencopy frame capture stopped");
248
+ } else {
249
+ log::error!("Screencopy failed: {:?}", reason);
250
+ }
251
capture.stop();
252
}
253
0 commit comments