Skip to content

fix(cursor): the hide-cursor key works at 1x too (0.31.2) (#626) - #625

Merged
Maxaubert merged 1 commit into
mainfrom
fix/hide-cursor-1x
Nov 28, 2026
Merged

Maxaubert merged 1 commit into
mainfrom
fix/hide-cursor-1x

Conversation

@Maxaubert

@Maxaubert Maxaubert commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #626.

What

The hide-cursor key (F8 here) only worked while zoomed. It now hides the pointer at 1x as well, the way Inspect does at 1x (blanker + MagShowSystemCursor), without starting a zoom session, so the 1x loop still sleeps.

  • IdleTick reconciles cursorHidden with what Wind hides, through the current engine's hideSystemCursor. The 1x cursor tint steps aside while hidden and re-applies after.
  • Zoom-out with the key on keeps the pointer hidden (TransformModel::setHoldHiddenAtExit; TeardownSession follows cursorHidden), so there is no show-then-hide flicker.
  • The engine pick at zoom-in hands a 1x hide over to the picked engine, as the in-session switch does.
  • Showing the pointer again at 1x nudges after the blanker restore, so a still pointer reappears without moving the mouse.
  • Exit paths unchanged: shutdown restores both engines, the crash filter reloads the cursor scheme.
  • Copy: ini template, Settings description ("Hide or show the pointer"), docs 07 and 08.

Checks

  • build.bat check: exit 0. build.bat test: 715/715.
  • Playwright: 219/219. npm run test:rules: 5/5.
  • Installed the signed UIAccess build here: Wind 0.31.2, status=Valid.

Version: 0.31.1 -> 0.31.2 (fix). Unsigned in CI as usual.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Maxaubert Maxaubert changed the title fix(cursor): the hide-cursor key works at 1x too (0.31.2) fix(cursor): the hide-cursor key works at 1x too (0.31.2) (#626) Nov 28, 2026
@Maxaubert
Maxaubert merged commit 78a354e into main Nov 28, 2026
1 check passed
@Maxaubert
Maxaubert deleted the fix/hide-cursor-1x branch November 28, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide-cursor key does nothing at 1x

1 participant