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
X11: SDL_HideWindow and/or SDL_ShowWindow broken in 2.0.22 #5595
Milestone
Comments
Can be reproduced with various other tools; |
@complexlogic Can you see if 9edd411 (the latest in main) fixes it for you? |
sezero
pushed a commit
to sezero/SDL
that referenced
this issue
May 19, 2022
Otherwise we ignore the Configure/etc events when they come in because the window is already in an identical state as far as SDL is concerned. Fixes libsdl-org#5593. May also fix: Issue libsdl-org#5572. Issue libsdl-org#5595. (cherry picked from commit 9edd411)
I built |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is possibly related to #5572, but I'm going to make a separate issue just in case.
I'm on Arch Linux, and recently upgraded SDL to 2.0.22. My program Flex Launcher uses SDL to render 2D graphics. Basically, it's a full screen application launcher that hides its window while the launched application is running, and then shows itself again after the application finishes. It uses the functions
SDL_HideWindow()
andSDL_ShowWindow()
to accomplish this.However, since I upgraded SDL, I noticed that after the application finishes and
SDL_ShowWindow()
is called, the resulting window is just completely blank (when it should have the rendered graphics). I verified this issue on two different Arch Linux PCs, one with a KDE Plasma desktop, one with Openbox (both X11).I downgraded SDL to 2.0.20 and it fixed the issue on both PCs. Therefore, I believe one of the recent commits is causing the issue.
The text was updated successfully, but these errors were encountered: