Renamed the fullscreen type "normal" to "exclusive".

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-07-30 01:38:45 -03:00
parent aa05664d4c
commit 2c7ee6959e
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -357,7 +357,7 @@ void Window::updateSettings(const WindowSettings &newsettings)
else if ((wflags & SDL_WINDOW_FULLSCREEN) == SDL_WINDOW_FULLSCREEN)
{
curMode.settings.fullscreen = true;
curMode.settings.fstype = FULLSCREEN_TYPE_NORMAL;
curMode.settings.fstype = FULLSCREEN_TYPE_EXCLUSIVE;
}
else
{
@@ -387,7 +387,7 @@ void Window::updateSettings(const WindowSettings &newsettings)
// Only minimize on focus loss if the window is in exclusive-fullscreen
// mode.
if (curMode.settings.fullscreen && curMode.settings.fstype == FULLSCREEN_TYPE_NORMAL)
if (curMode.settings.fullscreen && curMode.settings.fstype == FULLSCREEN_TYPE_EXCLUSIVE)
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1");
else
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");