playlist: disable highlighting if screen is visible (and not necessarily active)
This commit is contained in:
1 parent
1415964f95
commit
4cd95d6c8d
1 file changed
+1
-1
+1
-1
@@ -170,7 +170,7 @@ void TraceMpdStatus()
|
||||
}
|
||||
myScreen->Update();
|
||||
|
||||
if (myScreen->ActiveWindow() == myPlaylist->Items
|
||||
if (isVisible(myPlaylist) && myPlaylist->ActiveWindow() == myPlaylist->Items
|
||||
&& Timer.tv_sec == myPlaylist->Timer()+Config.playlist_disable_highlight_delay
|
||||
&& myPlaylist->Items->isHighlighted()
|
||||
&& Config.playlist_disable_highlight_delay)
|
||||
|
||||
Reference in new issue
Block a user