Skip to content

feat: Add fullscreen support to glfw code path#144

Open
RealDanTheMan wants to merge 1 commit intoPilotLightTech:masterfrom
RealDanTheMan:feature/133-fullscreen-support
Open

feat: Add fullscreen support to glfw code path#144
RealDanTheMan wants to merge 1 commit intoPilotLightTech:masterfrom
RealDanTheMan:feature/133-fullscreen-support

Conversation

@RealDanTheMan
Copy link
Copy Markdown

Summary

Implemented fullscreen support (#133) for experimental builds utilizing the GLFW code path.

Changes

  • Monitor Selection: Added ability for users/app code to specify a target monitor, useful for multi-screen setups.

  • Fallback Logic: If monitor or video settings fail to resolve during initialization, the window defaults to a 320x200 resolution.

  • Window Mode: Opted for borderless window rather than exclusive fullscreen.

Notes

  • Desktop Integration: The window is configured not to draw over system menu bars (Linux/macOS).

  • UX Rationale: I chose borderless/non-exclusive mode to provide a smoother multitasking experience on modern desktops.

Note: I am open to switching to exclusive fullscreen if that's the project preference

Example running on MacOS

image

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.

1 participant