From 524cc97f51620672305e623e9cd9e006c4321d65 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 23 Jun 2019 13:29:57 -0700 Subject: [PATCH] Use borderless windowed mode when toggling to full-screen from an initially windowed stream. Fixes #248 --- app/streaming/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 20ca983b..ef825436 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -442,11 +442,11 @@ bool Session::initialize() switch (m_Preferences->windowMode) { + default: case StreamingPreferences::WM_FULLSCREEN_DESKTOP: m_FullScreenFlag = SDL_WINDOW_FULLSCREEN_DESKTOP; break; case StreamingPreferences::WM_FULLSCREEN: - default: m_FullScreenFlag = SDL_WINDOW_FULLSCREEN; break; }