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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(windows): borrow WebviewWindow in overlay setup/activate calls
Louis Beaumont1726c6d0f9c7
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rsindex 620fe2e29..c7f5a51b4 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs@@ -970,11 +970,11 @@ impl ShowRewindWindow {// Setup Win32 overlay AFTER webview loads so the// window becomes visible only when JS is ready// to handle keyboard events.- if let Err(e) = crate::windows_overlay::setup_overlay(win, false) {+ if let Err(e) = crate::windows_overlay::setup_overlay(&win, false) {tracing::error!("Failed to setup Windows overlay: {}", e);}// Activate so keyboard focus goes to the webview- if let Err(e) = crate::windows_overlay::bring_to_front_and_activate(win) {+ if let Err(e) = crate::windows_overlay::bring_to_front_and_activate(&win) {tracing::error!("Failed to activate overlay: {}", e);}let _ = app_clone.emit("window-focused", true);