Skip to content

Commit

Permalink
screen_init: set main_dirty in OnResize()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 14, 2024
1 parent 487052d commit bbf5415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/screen_init.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bbf5415

Please sign in to comment.