Skip to content

fix(envs): add event loop to fix inactive window bug on MacOS#37

Open
rclarsfull wants to merge 4 commits intoTUDelft-CNS-ATM:mainfrom
rclarsfull:main
Open

fix(envs): add event loop to fix inactive window bug on MacOS#37
rclarsfull wants to merge 4 commits intoTUDelft-CNS-ATM:mainfrom
rclarsfull:main

Conversation

@rclarsfull
Copy link

On ARM-based macOS, Pygame windows may be flagged as inactive due to macOS's window handling behavior if no event loop is running. This causes the window to appear inactive or not receive focus.

This merge adds a minimal event loop immediately after window creation to prevent macOS from marking it inactive. Fixes bug #36.

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