Files
mac_without_borders/Sources
lucioandClaude Opus 5 ece6bbf8fd input-capture: handleMouse reads the screen layout only when remote
QA finding 2: `screens.layout` (a locked read) was taken before the
destination branch, but only the remote branch uses it. The local branch
is what runs for essentially every mouse event while this Mac keeps its
own pointer, so it was paying for a lock acquisition it discarded
(invariant 4: minimum work on the local path). Moved inside the
`isRemote` branch, matching `handleScroll`, which already checked the
destination before reading the layout.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 02:33:58 -07:00
..