window: toggle borderless fullscreen with F11 and Alt+Enter #246

Manually merged
github merged 2 commits from gh-pr/246/head into gh-pr/246/base 2026-11-26 09:14:38 +00:00
Owner

@⁠Hashim1999164 on GitHub · 2026-08-12 22:10 UTC · original
Hashim1999164:feat/f11-fullscreen-toggle → main · +37 −2 · 2 files · 2 commits · merged 2026-08-15 02:07 UTC

Summary

  • Add runtime toggle for borderless desktop fullscreen with F11 and Alt+Enter via SDL_SetWindowFullscreen(SDL_WINDOW_FULLSCREEN_DESKTOP), matching the existing startup fullscreen path.
  • Reserve SDLK_F11 in host input mappings so it cannot be rebound over the toggle.

Fixes #217.

Test plan

  • Start with windowed mode, press F11, confirm borderless desktop fullscreen.
  • Press F11 again, confirm return to windowed.
  • Repeat with Alt+Enter (and keypad Enter with Alt).
  • Confirm Escape / Space / F1 behavior is unchanged.
  • Confirm F11 cannot be assigned as a host input binding.
**@⁠Hashim1999164** on GitHub · 2026-08-12 22:10 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/246) `Hashim1999164:feat/f11-fullscreen-toggle` → `main` · +37 −2 · 2 files · 2 commits · merged 2026-08-15 02:07 UTC ## Summary - Add runtime toggle for borderless desktop fullscreen with F11 and Alt+Enter via `SDL_SetWindowFullscreen(SDL_WINDOW_FULLSCREEN_DESKTOP)`, matching the existing startup fullscreen path. - Reserve `SDLK_F11` in host input mappings so it cannot be rebound over the toggle. Fixes #217. ## Test plan - [ ] Start with windowed mode, press F11, confirm borderless desktop fullscreen. - [ ] Press F11 again, confirm return to windowed. - [ ] Repeat with Alt+Enter (and keypad Enter with Alt). - [ ] Confirm Escape / Space / F1 behavior is unchanged. - [ ] Confirm F11 cannot be assigned as a host input binding.
Match the existing SDL_WINDOW_FULLSCREEN_DESKTOP startup path so testers
can switch modes at runtime. Reserve F11 in host input mappings. Fixes #217.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:14:36 +00:00
github manually merged commit d431c5e10e into gh-pr/246/base 2026-11-26 09:14:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.