Skip to content
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

SDL_WM_SetIcon behavior... #191

Closed
icculus opened this issue Aug 18, 2022 · 0 comments
Closed

SDL_WM_SetIcon behavior... #191

icculus opened this issue Aug 18, 2022 · 0 comments
Assignees
Milestone

Comments

@icculus
Copy link
Collaborator

icculus commented Aug 18, 2022

This might be some weird 1.2 quirk, but SDL_WM_SetIcon currently sets an existing window's icon and returns, whereas if there isn't a window it doesn't a lot of tapdancing to build a surface that it can set later...but it seems like we should probably always build that surface in case the video window goes away and then a new window is created, as the icon is singleton state in 1.2 and would apply to later windows.

(can you get rid of the SDL_SetVideoMode window without shutting down the video subsystem? Maybe that's why we do this.)

@icculus icculus added this to the 1.2.54 milestone Aug 18, 2022
@icculus icculus self-assigned this Aug 18, 2022
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

No branches or pull requests

1 participant