summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7eb1306)
raw | patch | inline | side by side (parent: 7eb1306)
author | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 15:37:45 +0000 (16:37 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 15:37:45 +0000 (16:37 +0100) |
This will be done again by the following screen_paint() call.
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index b6f63007e6eea1b7a0add973c5c13a3f239b93a0..793eec93a0ddbe2e3ac9548bf97302e016ed8d73 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
screen.main_window.cols = screen.cols;
screen.main_window.rows = screen.rows-4;
wresize(screen.main_window.w, screen.main_window.rows, screen.cols);
- wclear(screen.main_window.w);
/* progress window */
progress_bar_resize(&screen.progress_bar, screen.cols,
screen.rows - 2, 0);
- progress_bar_paint(&screen.progress_bar);
/* status window */
status_bar_resize(&screen.status_bar, screen.cols, screen.rows - 1, 0);
- status_bar_paint(&screen.status_bar, c->status, c->song);
screen.buf_size = screen.cols;
g_free(screen.buf);