Skip to content

bring SDL window to foreground on macOS. - #244

Merged
lovyan03 merged 1 commit into
m5stack:developfrom
TinyuZhao:develop
Aug 10, 2026
Merged

bring SDL window to foreground on macOS.#244
lovyan03 merged 1 commit into
m5stack:developfrom
TinyuZhao:develop

Conversation

@TinyuZhao

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the PlatformIO + SDL2 example entrypoint to ensure the SDL window is brought to the foreground when running on macOS, addressing the common “window starts behind other windows” behavior.

Changes:

  • On Apple platforms, set the SDL macOS background-app hint before starting the SDL panel main loop.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@lovyan03
lovyan03 merged commit 4e859dd into m5stack:develop Aug 10, 2026
23 checks passed
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.

3 participants