|
|
|
|
@ -2388,7 +2388,9 @@ int main(int argc, char **argv) |
|
|
|
|
# ifdef ENABLE_VISUALIZER |
|
|
|
|
// visualizer sets timmeout to 40ms, but since only it needs such small
|
|
|
|
|
// value, we should restore defalt one after switching to another screen.
|
|
|
|
|
if (wFooter->GetTimeout() < ncmpcpp_window_timeout && !isVisible(myVisualizer)) |
|
|
|
|
if (wFooter->GetTimeout() < ncmpcpp_window_timeout |
|
|
|
|
&& !(myScreen == myVisualizer || myLockedScreen == myVisualizer || myInactiveScreen == myVisualizer) |
|
|
|
|
) |
|
|
|
|
wFooter->SetTimeout(ncmpcpp_window_timeout); |
|
|
|
|
# endif // ENABLE_VISUALIZER
|
|
|
|
|
} |
|
|
|
|
|