From 3b26aa4470e7566a21ce59b1b7dc5926f2793512 Mon Sep 17 00:00:00 2001 From: Rainer Hochecker Date: Fri, 16 Jun 2017 10:38:06 +0200 Subject: [PATCH] fix toggle fullscreen --- xbmc/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index cc2c26994ea8e..0136fb95f10d5 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -315,9 +315,9 @@ bool CApplication::OnEvent(XBMC_Event& newEvent) case XBMC_VIDEORESIZE: if (g_windowManager.Initialized()) { - g_Windowing.SetWindowResolution(newEvent.resize.w, newEvent.resize.h); if (!g_advancedSettings.m_fullScreen) { + g_Windowing.SetWindowResolution(newEvent.resize.w, newEvent.resize.h); g_graphicsContext.SetVideoResolution(RES_WINDOW, true); CServiceBroker::GetSettings().SetInt(CSettings::SETTING_WINDOW_WIDTH, newEvent.resize.w); CServiceBroker::GetSettings().SetInt(CSettings::SETTING_WINDOW_HEIGHT, newEvent.resize.h);