Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app: ignore unfocused windows by default

Louis Beaumontf492aa0faa8c
diff --git a/screenpipe-vision/examples/window-properties.rs b/screenpipe-vision/examples/window-properties.rs
deleted file mode 100644
index ca7befcb4..000000000
--- a/screenpipe-vision/examples/window-properties.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-use anyhow::Result;
-use tokio::time::{sleep, Duration};
-use xcap::{Monitor, Window};
-
-#[tokio::main]
-async fn main() -> Result<()> {
- loop {
- println!("\n=== Windows State ===");
-
- match Window::all() {
- Ok(windows) => {
- for window in windows {
- println!("Window: {}", window.title());
- println!(" App: {}", window.app_name());
- println!(" ID: {}", window.id());
- println!(" Is Minimized: {}", window.is_minimized());
- println!(" Is Visible: {}", window.is_maximized());
- println!(" Title: {:?}", window.title());
- println!(" Height: {:?}", window.height());
- println!(" Width: {:?}", window.width());
-
- println!("---");
- }
- }
- Err(e) => println!("failed to get windows: {:?}", e),
- }
-
- sleep(Duration::from_secs(1)).await;
- }
-}