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 - SDL_WINDOWEVENT_EXPOSED event possible queue overflow
Summary: SDL_WINDOWEVENT_EXPOSED event possible queue overflow
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.3
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 11:39 UTC by Marcel Bakker
Modified: 2016-10-01 20:38 UTC (History)
1 user (show)

See Also:


Attachments
example with the relevent events (1.26 KB, text/plain)
2015-11-02 11:39 UTC, Marcel Bakker
Details
patch proposed (1.10 KB, patch)
2015-11-02 11:41 UTC, Marcel Bakker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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