Add borderless fullscreen option #22
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
reviewed
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Slaktarn700--SlaktarnVI!22
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/22/head"
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?
@BottyIvan on GitHub · 2026-11-29 15:27 UTC · original
BottyIvan:pr/borderless-fullscreen→main· +412 −3 · 5 files · 3 commits · closed without mergingSummary
Validation
1afad58, the launcher self-test, 7 fullscreen tests and 11 lifecycle tests passed under Proton; the diagnostic build succeeded. An earlier version passed focused Clippy.@Slaktarn700 on GitHub · 2026-11-29 22:01 UTC · original
Thank you. Posting it to the window's own thread and undoing it on failure is the right way. Three things I would ask for first: handle the message only when
VICTORY_FULLSCREEN=1, say in the text that a picture of another shape is stretched, and log a warning when the window never answers. Frame generation, Alt+Tab and the mouse lock still need a look in game. It should stay off by default.@BottyIvan on GitHub · 2026-11-30 23:51 UTC · original
I tested the updated build in game. Fullscreen now works, and the requested checks appeared to pass. The log confirms borderless presentation:
I also ran the fullscreen and lifecycle tests under Proton.
@Slaktarn700 on GitHub · 2026-11-30 23:57 UTC · original
Thank you, good to hear that it works in game. Could you push the updated version here? The pull request still holds only the commit from 29 November, and it conflicts with main now (
1afad58), so it needs a rebase; a new pull request against main is just as good. Off by default, please, and with the line in the text that a picture of another shape is stretched.@BottyIvan on GitHub · 2026-12-01 00:23 UTC · original
I pushed the requested changes and merged main at
1afad58into this branch rather than rebasing. Fullscreen remains off by default, and the launcher text notes stretching for a different aspect ratio.I briefly retested windowed and fullscreen modes on Fedora / Proton with an RX 7800 XT. The log confirms borderless presentation at 2560x1440 with frame generation enabled; Alt+Tab and mouse appeared to work. I stopped the fullscreen session manually; it recorded exit code 1, so this was not a normal-exit test.
The launcher self-test, 7 fullscreen tests and 11 lifecycle tests also passed under Proton after the merge.
@Slaktarn700 on GitHub · 2026-12-01 02:18 UTC · original
Taken into
bd906bdunder your name, thank you. Two changes: the code is in a file of its own (host/fullscreen.rs;host.rswas over the size limit), and on a screen of another shape the picture keeps its own, in the middle, with black beside it instead of stretched (tried on a 3440x1440 screen: 21 to 22 fps as in a window, no crash).Pull request closed