We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3161

Summary: SDL_WINDOWEVENT_EXPOSED event possible queue overflow
Product: SDL Reporter: Marcel Bakker <mna.bakker>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 2.0.3   
Hardware: x86_64   
OS: Windows 7   
Attachments: example with the relevent events
patch proposed

Description Marcel Bakker 2015-11-02 11:39:07 UTC
Created attachment 2295 [details]
example with the relevent events

Observed when resizing or moving a window in Windows 7.

Depending on how you resize/move your window
, you may receive none or a lot of SDL_WINDOWEVENT_EXPOSED events
, at the moment you release the mouse button.

Maybe add this event to an already existing list of overflow candidates ?
Comment 1 Marcel Bakker 2015-11-02 11:41:25 UTC
Created attachment 2296 [details]
patch proposed
Comment 2 Sam Lantinga 2016-10-01 20:38:49 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/8f9a69bfdef0