You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add a copy/paste of the SDL_SetWindowSize() call after the SDL_SetWindowFullscreen() call, then it works correctly, like the X11 SDL2 backend failed to respect the window size change that happened before leaving fullscreen.
I can't reproduce with SDL 2.0.16 through 2.0.20 either, using FULLSCREEN or FULLSCREEN_DESKTOP.
I've upgraded this machine to a newer Ubuntu install since then, so it's possible that it was fixed in a later x.org or Gnome (or it is an IceWM bug, which I was often using on the old install due to an unrelated Gnome bug).
So I'm going to call this okay until someone else complains.
This appears to be an SDL2 bug...this code:
https://github.com/libsdl-org/sdl12-compat/blob/4e4527a123fb99a1677055d89c5fc74323ddc4d8/src/SDL12_compat.c#L5074-L5075
If I add a copy/paste of the SDL_SetWindowSize() call after the SDL_SetWindowFullscreen() call, then it works correctly, like the X11 SDL2 backend failed to respect the window size change that happened before leaving fullscreen.
Originally posted by @icculus in libsdl-org/sdl12-compat#148 (comment)
The text was updated successfully, but these errors were encountered: