Skip to content

Conversation

@cgutman
Copy link

@cgutman cgutman commented Jan 24, 2026

SDL3 depends on receiving a PropertyNotify for _NET_WM_STATE after it sends a ClientMessage to change the window state. If it doesn't receive one within 100 ms, it will assume the change failed and will not set the expected window flag. Therefore, we cannot just silently apply the changes. We must also change the _NET_WM_STATE property, so apps know we actually applied the requested change.

Fixes SDL3 windows never getting SDL_WINDOW_FULLSCREEN set.

SDL3 depends on receiving a PropertyNotify for _NET_WM_STATE after
it sends a ClientMessage to change the window state. If it doesn't
receive one within 100 ms, it will assume the change failed and
will not set the expected window flag. Therefore, we cannot just
silently apply the changes. We must also change the _NET_WM_STATE
property, so apps know we actually applied the requested change.

Fixes SDL3 windows never getting SDL_WINDOW_FULLSCREEN set.
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