We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e959c03 commit f062c25Copy full SHA for f062c25
1 file changed
src/lib.rs
@@ -220,16 +220,7 @@ pub fn capture_window(x: u32, y: u32) -> ImageData {
220
221
let mut sorted_windows: Vec<_> = windows.iter().collect();
222
sorted_windows.sort_by(|a, b| b.z().unwrap().cmp(&a.z().unwrap()));
223
- println!("Total windows: {}", sorted_windows.len());
224
for (index, w) in sorted_windows.iter().enumerate() {
225
- println!(
226
- "[{}] {} {} {} {}",
227
- index,
228
- w.title().unwrap(),
229
- w.app_name().unwrap(),
230
- w.pid().unwrap(),
231
- w.z().unwrap()
232
- );
233
}
234
235
let window = sorted_windows
0 commit comments