overlay: hide the cursor inside the window (upstream 51ea083) #66
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!66
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-66"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Kal0s-design on GitHub · 2026-12-05 19:54 UTC · original
Kal0s-design:port/hide-cursor→main· +34 −5 · 4 files · 1 commits · merged 2026-12-05 22:29 UTCFrom upstream ReVIctory (51ea083, author kept, with their follow-up 8bff52b folded in). A "Hide cursor" switch in the menu's Overlay tab, off by default and remembered in overlay.txt as hide_cursor (or VICTORY_HIDE_CURSOR=1). While it's on, the window procedure hides the cursor inside the client area the same way it already does during the mouse-look lock. When the F1 drawer or the account picker has the mouse, the overlay answers WM_SETCURSOR before that point, so its own cursor still shows there. Turning the switch off brings the cursor back on the next WM_SETCURSOR through the existing restore path.
Porting notes. Upstream's list of menu switches needed a length fix after merges (8bff52b), so the list is a slice here too and adding an entry doesn't need the count changed. The entry sits after this fork's Startup card, in place of upstream's menu layout rows the fork doesn't have. The fork's window procedure has no phone-screen check, so the condition is just the mouse-look lock or the switch.
Clippy -D warnings is clean in both of the Lint workflow's runs, victory-hle passes (263), and the live and overlay tests of victory-gpu pass. I haven't tried it in game here.
AI-assisted: yes
🤖 Generated with Claude Code