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 3330

Summary: SDL_WINDOWEVENT_RESTORED not fired on attempted restore of a minimised maximised window
Product: SDL Reporter: Paul <Paul.Hancock.17041993>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2    
Version: 2.0.4   
Hardware: x86_64   
OS: Windows 7   

Description Paul 2016-05-11 01:39:35 UTC
SDL_WINDOWEVENT_RESTORED not fired on attempted restore of a minimised maximised window, causing the window to never be restored. Instead the only events received are SDL_WINDOWEVENT_FOCUS_GAINED and SDL_WINDOWEVENT_FOCUS_LOST immediately after.

The window must be maximised before it is minimised, if the window is not maximised before being minimised it will receive the event and restore as normal.