Skip to content

Commit

Permalink
TEST: also disable autoscrolling while opening streams.
Browse files Browse the repository at this point in the history
  • Loading branch information
menakite authored and popcornmix committed Jan 3, 2015
1 parent 7f55deb commit dd57a6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbmc/Application.cpp
Expand Up @@ -5904,7 +5904,10 @@ void CApplication::CloseNetworkShares()

bool CApplication::ScreenSaverDisablesAutoScrolling()
{
return IsInScreenSaver() && m_screenSaver &&
bool onBlackDimScreenSaver = IsInScreenSaver() && m_screenSaver &&
(m_screenSaver->ID() == "screensaver.xbmc.builtin.black" ||
m_screenSaver->ID() == "screensaver.xbmc.builtin.dim");
bool openingStreams = m_pPlayer->IsPlaying() && g_windowManager.IsWindowActive(WINDOW_DIALOG_BUSY);

return onBlackDimScreenSaver || openingStreams;
}

0 comments on commit dd57a6f

Please sign in to comment.