Display mode setting: fullscreen (borderless) by default, Alt+Enter kept in step #116

Closed
github-bot wants to merge 1 commit from github-bot/gh-116 into main AGit
Owner

@⁠compl3xity1337 on GitHub · 2026-12-05 18:56 UTC · original
compl3xity1337:pr/display-mode → main · +78 −6 · 4 files · 1 commits · closed without merging

What

A Display mode option in the F10 menu, on the Untested page:

  • Fullscreen (the default): a borderless window over the whole monitor. The picture keeps 16:9, with bars on a wider screen.
  • Windowed: a window with its frame.

LARP_DISPLAY_MODE still works and takes priority over the setting. A change applies at once. Alt+Enter and the setting stay in step: the window's thread switches only when the mode asked for differs from the one shown, so a repeated request does not flip it back. The menu's status line says which mode is showing.

This makes fullscreen the default when nothing is set. If you'd rather keep windowed as the default, it's a one-line change to Target::layer_default (and the default in ours).

Testing

Tested in game: switching from the menu and with Alt+Enter.

🤖 Generated with Claude Code

**@⁠compl3xity1337** on GitHub · 2026-12-05 18:56 UTC · [original](https://github.com/gamingwithhomie/larp/pull/116) `compl3xity1337:pr/display-mode` → `main` · +78 −6 · 4 files · 1 commits · closed without merging ## What A **Display mode** option in the F10 menu, on the Untested page: - **Fullscreen** (the default): a borderless window over the whole monitor. The picture keeps 16:9, with bars on a wider screen. - **Windowed:** a window with its frame. `LARP_DISPLAY_MODE` still works and takes priority over the setting. A change applies at once. Alt+Enter and the setting stay in step: the window's thread switches only when the mode asked for differs from the one shown, so a repeated request does not flip it back. The menu's status line says which mode is showing. This makes fullscreen the default when nothing is set. If you'd rather keep windowed as the default, it's a one-line change to `Target::layer_default` (and the default in `ours`). ## Testing Tested in game: switching from the menu and with Alt+Enter. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A "Display mode" option in the F10 menu (and LARP_DISPLAY_MODE, as before): fullscreen is
a borderless window over the whole monitor, windowed a window with its frame. It applies
at once, and Alt+Enter and the setting stay in step: the window's thread switches only
when the mode asked for differs from the one shown. The menu says which mode is showing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:01:31 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 19:12 UTC · original

Reviewed - holding: it now conflicts with main (the deferred PostMessageW display-mode fix from #31 is in), and it changes the default to fullscreen-borderless when nothing is set. Please rebase on current main, keep LARP_DISPLAY_MODE priority + the Alt+Enter sync, and confirm the default change is intentional for existing windowed users - then we can test-merge it for the next release. Thank you!

**@⁠gamingwithhomie** on GitHub · 2026-12-05 19:12 UTC · [original](https://github.com/gamingwithhomie/larp/pull/116#issuecomment-7443785814) Reviewed - holding: it now conflicts with main (the deferred `PostMessageW` display-mode fix from #31 is in), and it changes the **default** to fullscreen-borderless when nothing is set. Please rebase on current main, keep `LARP_DISPLAY_MODE` priority + the Alt+Enter sync, and confirm the default change is intentional for existing windowed users - then we can test-merge it for the next release. Thank you!
Author
Owner

@⁠compl3xity1337 on GitHub · 2026-12-05 21:49 UTC · original

Closing: #96 already covers this. Its new-look menu has a Window mode row (windowed by default, LARP_DISPLAY_MODE still goes first, and it switches at once like Alt+Enter), so the default question no longer applies.

Two small gaps left after #96, if anyone wants to pick them up:

  • The row is only in the new look. The classic panel, which is still the default, has no display mode row.
  • Alt+Enter doesn't update the row, so after pressing it the menu can show the wrong mode, and the next start uses the saved one rather than what was last shown.
**@⁠compl3xity1337** on GitHub · 2026-12-05 21:49 UTC · [original](https://github.com/gamingwithhomie/larp/pull/116#issuecomment-7446039648) Closing: #96 already covers this. Its new-look menu has a Window mode row (windowed by default, `LARP_DISPLAY_MODE` still goes first, and it switches at once like Alt+Enter), so the default question no longer applies. Two small gaps left after #96, if anyone wants to pick them up: - The row is only in the new look. The classic panel, which is still the default, has no display mode row. - Alt+Enter doesn't update the row, so after pressing it the menu can show the wrong mode, and the next start uses the saved one rather than what was last shown.
github-bot closed this pull request 2026-12-05 21:55:59 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.