diff src/video/SDL_video.c @ 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 7931094e4c48
children 5ffbbfb78987
line wrap: on
line diff
--- 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);
     }