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 does not refresh with workspace swaping #39

Open
sjrct opened this issue Sep 22, 2014 · 1 comment
Open

SDL does not refresh with workspace swaping #39

sjrct opened this issue Sep 22, 2014 · 1 comment

Comments

@sjrct
Copy link
Contributor

sjrct commented Sep 22, 2014

When swapping away from an back to a running instance of the game, the window does not redraw until something happens.

@Grissess
Copy link
Contributor

Suggested rectification: trigger either redraw() or just sdl_refresh() on a window expose event in sdl_default_handler().

This is presently defined in input.c, since most event handling is input handling, but that's also kind of silly because it means that display.c has to extern a lot of its state so that the default event handler can modify it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants