Skip to content

Commit

Permalink
Gracefully skip disabled internal screens
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Oct 23, 2024
1 parent 77bac5a commit e2a62e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frame/capturer/wlr_export_dmabuf_unstable_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ impl super::Capturer for Capturer {
.expect("Unable to perform 2nd initial roundtrip");

if self.output.is_none() {
panic!("Unable to find output that matches config '{output_name}'");
log::info!("Unable to find output that matches config '{output_name}', assuming it's disconnected.");
return;
}

if self.dmabuf_manager.is_none() {
Expand Down

0 comments on commit e2a62e4

Please sign in to comment.