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 - SDL_WINDOWEVENT_RESTORED not fired on attempted restore of a minimised maximised window
Summary: SDL_WINDOWEVENT_RESTORED not fired on attempted restore of a minimised maximi...
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.4
Hardware: x86_64 Windows 7
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 01:39 UTC by Paul
Modified: 2016-05-11 01:40 UTC (History)
0 users

See Also:


Attachments

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