Mercurial > sdl-ios-xcode
changeset 3511:42cfa69e351b
On multi-display systems it's perfectly reasonable to have focus on a window on another monitor while the application is fullscreen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Dec 2009 07:38:28 +0000 |
parents | 58cbfa81317a |
children | 5ffbbfb78987 |
files | src/video/SDL_sysvideo.h src/video/SDL_video.c |
diffstat | 2 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Wed Dec 02 07:28:58 2009 +0000 +++ b/src/video/SDL_sysvideo.h Wed Dec 02 07:38:28 2009 +0000 @@ -147,7 +147,6 @@ #define FULLSCREEN_VISIBLE(W) \ (((W)->flags & SDL_WINDOW_FULLSCREEN) && \ ((W)->flags & SDL_WINDOW_SHOWN) && \ - ((W)->flags & SDL_WINDOW_INPUT_FOCUS) && \ !((W)->flags & SDL_WINDOW_MINIMIZED)) /*
--- a/src/video/SDL_video.c Wed Dec 02 07:28:58 2009 +0000 +++ b/src/video/SDL_video.c Wed Dec 02 07:38:28 2009 +0000 @@ -1435,7 +1435,6 @@ { SDL_VideoDisplay *display = SDL_GetDisplayFromWindow(window); - SDL_UpdateFullscreenMode(window, SDL_TRUE); if (display->gamma && _this->SetDisplayGammaRamp) { _this->SetDisplayGammaRamp(_this, display, display->gamma); } @@ -1450,7 +1449,6 @@ { SDL_VideoDisplay *display = SDL_GetDisplayFromWindow(window); - SDL_UpdateFullscreenMode(window, SDL_FALSE); if (display->gamma && _this->SetDisplayGammaRamp) { _this->SetDisplayGammaRamp(_this, display, display->saved_gamma); }