# HG changeset patch # User Sam Lantinga # Date 1259739508 0 # Node ID 42cfa69e351b82151e6179640a6317565235ce1f # Parent 58cbfa81317a1789220aa0e175d70e06c4e0ea4b On multi-display systems it's perfectly reasonable to have focus on a window on another monitor while the application is fullscreen. diff -r 58cbfa81317a -r 42cfa69e351b src/video/SDL_sysvideo.h --- 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)) /* diff -r 58cbfa81317a -r 42cfa69e351b src/video/SDL_video.c --- 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); }