Skip to content

Computer use CLI for AI agents

fix(windows): stop the overlay flashing a black square when it starts (#344)

Chris Tatecb31212ea1e1
diff --git a/crates/windows/src/system/cursor_overlay/window.rs b/crates/windows/src/system/cursor_overlay/window.rs
index f79021ec9..a592e4137 100644
--- a/crates/windows/src/system/cursor_overlay/window.rs
+++ b/crates/windows/src/system/cursor_overlay/window.rs
@@ -97,7 +97,6 @@ impl OverlayWindow {
"The cursor overlay window could not be created",
));
}
- unsafe { ShowWindow(handle, SW_SHOWNOACTIVATE) };
Ok(Self { handle })
}