From bbf5415f8a90bf8d6b54d360a5d54f2b10646bfa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 14 Sep 2024 21:49:17 +0200 Subject: [PATCH] screen_init: set main_dirty in OnResize() --- NEWS | 1 + src/screen_init.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index e6380557..5bd6be09 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ ncmpc 0.51 - not yet released +* repaint main area after terminal was resized ncmpc 0.50 - (2024-09-12) * build: require Meson 0.60 diff --git a/src/screen_init.cxx b/src/screen_init.cxx index 5faa0cc9..5f92e14d 100644 --- a/src/screen_init.cxx +++ b/src/screen_init.cxx @@ -118,6 +118,7 @@ ScreenManager::OnResize() noexcept /* main window */ main_window.Resize(layout.GetMainSize()); + main_dirty = true; /* progress window */ progress_bar.OnResize(layout.GetProgress(), layout.size.width);