Skip to content

Commit

Permalink
fix toggle fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Jun 16, 2017
1 parent d7ea2b0 commit 3b26aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b26aa4

Please sign in to comment.