From be9177877c99bc52b08057b4e87e9a48b3785fcd Mon Sep 17 00:00:00 2001 From: unK Date: Sun, 7 Sep 2008 16:32:45 +0200 Subject: [PATCH] don't clear lyrics screen while resizing window --- src/ncmpcpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 8db0446c..437e7479 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -834,9 +834,9 @@ int main(int argc, char *argv[]) wFooter->MoveTo(0, footer_start_y); wFooter->Resize(COLS, wFooter->GetHeight()); - if (wCurrent != sHelp) + if (wCurrent != sHelp && wCurrent != sLyrics) wCurrent->Window::Clear(); - wCurrent->Refresh(1); + if (current_screen == csLibrary) { REFRESH_MEDIA_LIBRARY_SCREEN;