Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 5266:595814f561f7
There is only one width and height for the window. If those are changed during the course of a fullscreen mode change, then they'll stay that size when returning to windowed mode.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 11 Feb 2011 20:49:13 -0800 |
parents | f908e06b3c96 |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/video/SDL_video.c Fri Feb 11 19:11:27 2011 -0800 +++ b/src/video/SDL_video.c Fri Feb 11 20:49:13 2011 -0800 @@ -1082,10 +1082,6 @@ _this->SetWindowFullscreen(_this, window); } display->fullscreen_window = NULL; - - /* Generate a mode change events here */ - SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESIZED, - window->windowed.w, window->windowed.h); } SDL_Window *