fixes for overwriting not mergable screen displayed on top of merged ones

This commit is contained in:
Andrzej Rybczak
2011-11-19 20:07:51 +01:00
parent df62a28c72
commit 4a8cfcb187
3 changed files with 6 additions and 14 deletions

View File

@@ -158,17 +158,7 @@ void TraceMpdStatus()
Global::UpdateStatusImmediately = 0;
}
if (myLockedScreen)
{
if (myScreen == myLockedScreen)
{
if (myInactiveScreen)
myInactiveScreen->Update();
}
else
myLockedScreen->Update();
}
myScreen->Update();
ApplyToVisibleWindows(&BasicScreen::Update);
if (isVisible(myPlaylist) && myPlaylist->ActiveWindow() == myPlaylist->Items
&& Timer.tv_sec == myPlaylist->Timer()+Config.playlist_disable_highlight_delay