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

fix(a11y/windows): import GetWindowRect from windows-rs

Louis Beaumont13a44d517608
diff --git a/crates/screenpipe-a11y/src/tree/windows.rs b/crates/screenpipe-a11y/src/tree/windows.rs
index 0f327d4df..b93cf0b48 100644
--- a/crates/screenpipe-a11y/src/tree/windows.rs
+++ b/crates/screenpipe-a11y/src/tree/windows.rs
@@ -26,7 +26,7 @@ use windows::Win32::Graphics::Gdi::{
};
use windows::Win32::System::Com::{CoInitializeEx, COINIT_APARTMENTTHREADED};
use windows::Win32::UI::WindowsAndMessaging::{
- GetForegroundWindow, GetWindowTextW, GetWindowThreadProcessId,
+ GetForegroundWindow, GetWindowRect, GetWindowTextW, GetWindowThreadProcessId,
};
/// Excluded apps — password managers and security tools (matches macOS list).