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 1797 - SDL_WINDOWEVENT_RESIZED not being sent when going fullscreen using SDL_SetWindowFullscreen()
Summary: SDL_WINDOWEVENT_RESIZED not being sent when going fullscreen using SDL_SetWin...
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS 5
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.0
Depends on:
Blocks:
 
Reported: 2013-04-11 08:12 UTC by PeLe
Modified: 2016-03-21 08:02 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PeLe 2013-04-11 08:12:59 UTC
Title is self-explanatory. 
Is this a misunderstanding between SDL_video.c and SDL_windowevent.c? SDL_UpdateFullscreenMode asks to trigger SDL_WINDOWEVENT_RESIZED, but SDL_SendWindowEvent refuses to do so when being in fullscreen. Why?  

As a result, app cannot properly respond to video mode change in window->fullscreen scenario. It can do so only in fullscreen->window scenario.
Comment 1 Ryan C. Gordon 2013-07-12 22:16:02 UTC
(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.)

Tagging a bunch of bugs as target-2.0.0, Priority 2.

This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible.

That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship.

Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment.

Thanks!
--ryan.
Comment 2 Alex Szpakowski 2016-03-19 05:05:14 UTC
I believe this works as expected in SDL 2.0.4 – feel free to reopen the issue if that's not the case!
Comment 3 PeLe 2016-03-21 08:02:55 UTC
Confirm, it's working with SDL 2.0, thanks!