From cef5433d5fb7cc8c0387a29b31a527d324426d21 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 24 Aug 2009 22:55:23 +0200 Subject: [PATCH] do not block elapsed time counter update if message is displayed --- src/status.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status.cpp b/src/status.cpp index fc63fddf..91149605 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -441,7 +441,8 @@ void NcmpcppStatusChanged(Connection *, StatusChanges changed, void *) size_t second_margin = (std::max(player_state.length(), size_t(8))+1)*2; size_t second_start = second_len < COLS-second_margin ? (COLS-second_len)/2 : player_state.length()+1; - if (!block_progressbar_update) // if blocked, seeking in progress + if (!block_progressbar_update // if blocked, seeking in progress + || lock_statusbar_delay >= 0) // do not block it if message is displayed *wHeader << XY(0, 0) << wclrtoeol << tracklength; *wHeader << XY(first_start, 0); first.Write(*wHeader, first_line_scroll_begin, COLS-tracklength.length()-VolumeState.length()-1, U(" ** "));