Skip to content

Commit

Permalink
[screensaver] Leave GUI contents available for screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed May 28, 2015
1 parent 637a261 commit 5ddc737
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion xbmc/guilib/GUIWindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,16 @@ void CGUIWindowManager::ActivateWindow_Internal(int iWindowID, const vector<stri
int currentWindow = GetActiveWindow();
CGUIWindow *pWindow = GetWindow(currentWindow);
if (pWindow)
CloseWindowSync(pWindow, iWindowID);
{
if (iWindowID == WINDOW_SCREENSAVER)
{
pWindow->Close(true, iWindowID);
}
else
{
CloseWindowSync(pWindow, iWindowID);
}
}
g_infoManager.SetNextWindow(WINDOW_INVALID);

// Add window to the history list (we must do this before we activate it,
Expand Down

0 comments on commit 5ddc737

Please sign in to comment.