Skip to content

Conversation

@Kontrabant
Copy link
Contributor

…s are toggled

An event flush while a window is being hidden may try to toggle the window borders. Don't poll the mapping state when toggling borders if the window is in the process of being hidden, or the window may already be unmapped, and the wait loop will hang forever.

Fixes #14655

…s are toggled

An event flush while a window is being hidden may try to toggle the window borders. Don't poll the mapping state when toggling borders if the window is in the process of being hidden, or the window may already be unmapped, and the wait loop will hang forever.
@Kontrabant Kontrabant merged commit 78d008f into libsdl-org:main Dec 16, 2025
43 checks passed
@Kontrabant
Copy link
Contributor Author

Cherry-picking to 3.2.x as well.

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.

SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_BORDERLESS hangs on Openbox

2 participants