Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

test(window): deliver each verified drag point to the input queue

Linuxdazhao5bfa4a2f91a6
diff --git a/scripts/e2e/probe-window-snap.cs b/scripts/e2e/probe-window-snap.cs
index c5aa30360..732f3ffb3 100644
--- a/scripts/e2e/probe-window-snap.cs
+++ b/scripts/e2e/probe-window-snap.cs
@@ -127,6 +127,7 @@ public static class WindowSnapProbe {
}
static void MovePointer(int x, int y) {
Check(SetCursorPos(x,y),"native cursor movement was rejected");
+ InjectMouse(0x2001); // Queue a non-coalesced move at the verified screen point.
SnapPoint actual=new SnapPoint();
Wait(() => GetCursorPos(out actual) && actual.X==x && actual.Y==y,"native cursor did not reach the requested screen point");
}