Fix for alt-tab problem on nvidia cards. Thanks go to Tim for figuring this out.

This commit is contained in:
Dabb 2001-02-09 22:51:14 +00:00
parent 48e901481a
commit 7b9f46471c

View file

@ -910,7 +910,7 @@ AppActivate (BOOL fActive, BOOL minimize)
Sys_Error ("Couldn't set fullscreen DIB mode (try upgrading your video drivers)"); Sys_Error ("Couldn't set fullscreen DIB mode (try upgrading your video drivers)");
} }
ShowWindow (mainwindow, SW_SHOWNORMAL); ShowWindow (mainwindow, SW_SHOWNORMAL);
MoveWindow(mainwindow,0,0,gdevmode.dmPelsWidth,gdevmode.dmPelsHeight,false);
} }
} }
else if ((modestate == MS_WINDOWED) && _windowed_mouse->int_val else if ((modestate == MS_WINDOWED) && _windowed_mouse->int_val