New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL2 : Fullscreen to Window #8104
Comments
Maybe @nikolas can look at it |
Thank you for the report! I will take a look this weekend. |
nikolas
added a commit
to nikolas/OpenTTD
that referenced
this issue
Jun 8, 2020
This fixes a bug that can reproduced with these steps: * Start openttd in fullscreen mode * Turn off fullscreen mode * Try to resize the window. The window can't be resized.
LordAro
pushed a commit
that referenced
this issue
Aug 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
Last version 1.10.1
Steps to reproduce
When OpenTTD opened in fullscreen, when switch to window, impossible to resize window
solution (maybe)
let SDL_WINDOW_RESIZABLE with FULLSCREEN
You can delete condition :
https://github.com/OpenTTD/OpenTTD/blob/master/src/video/sdl2_v.cpp#L265
flags |= SDL_WINDOW_FULLSCREEN | SDL_WINDOW_RESIZABLE;
Thanks
The text was updated successfully, but these errors were encountered: