Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
force window with title on feature_bitmap example
Browse files Browse the repository at this point in the history
  • Loading branch information
liam committed Apr 2, 2024
1 parent 7a2de0a commit 7c75479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/feature_bitmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() {
let content = CapturableContent::new(filter).await.unwrap();
let window = content.windows().filter(|window| {
let app_identifier = window.application().identifier();
app_identifier.to_lowercase().contains("firefox")
window.title().len() != 0 && app_identifier.to_lowercase().contains("firefox")
}).next();
match window {
Some(window) => {
Expand Down

0 comments on commit 7c75479

Please sign in to comment.