mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 15:02:00 +00:00
expose events originating from a live-resize set the data1 field to 1.
Fixes #13243.
This commit is contained in:
parent
6aedc488d3
commit
e80d084766
2 changed files with 3 additions and 2 deletions
|
|
@ -4139,7 +4139,7 @@ void SDL_OnWindowLiveResizeUpdate(SDL_Window *window)
|
|||
SDL_IterateMainCallbacks(false);
|
||||
} else {
|
||||
// Send an expose event so the application can redraw
|
||||
SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_EXPOSED, 0, 0);
|
||||
SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_EXPOSED, 1, 0);
|
||||
}
|
||||
|
||||
SDL_PumpEventMaintenance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue