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 666

Summary: Resize event causes event queue to overflow and drop events
Product: SDL Reporter: Will <willeom>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2    
Version: 2.0.0   
Hardware: x86   
OS: Windows (All)   
Attachments: Fix

Description Will 2009-01-03 12:31:02 UTC
As I resize my SDL window the event queue fills with resize events.
These resize events don't get processed until I release the mouse (probably because I'm using OpenGL). If I resize for too long, the remaining events get dropped!

Example:
When I release my mouse after resizing I get an sizing animation effect on my OpenGL view port and if I took too long to resize my window the view port gets stuck at the wrong size!
Comment 1 Will 2009-01-03 12:36:25 UTC
Created attachment 288 [details]
Fix

This patch goes on SDL-1.3\src\video\win32\SDL_win32events.c
Comment 2 Sam Lantinga 2009-12-15 16:56:49 UTC
I actually fixed this in platform independent code with revision 5408.

Thanks!