diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:29 +0200 |
commit | 9e27391e321912878f7cddaa92f2c8201c6e91de (patch) | |
tree | d4177ec184712f13cdf4d3276a03c981c073e225 /src/screen_artist.c | |
parent | 0fd4d0c99d31b69356c289d3bb1dcd791b898028 (diff) | |
download | mpd-9e27391e321912878f7cddaa92f2c8201c6e91de.tar.gz mpd-9e27391e321912878f7cddaa92f2c8201c6e91de.tar.xz mpd-9e27391e321912878f7cddaa92f2c8201c6e91de.zip |
list_window: removed property "clear"
Without clearing previous screen contents, there may be corruptions,
make this mandatory and optimize screen clearing.
Diffstat (limited to 'src/screen_artist.c')
-rw-r--r-- | src/screen_artist.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c index 4abd585c0..bf7e54df0 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -150,7 +150,6 @@ update_metalist(mpdclient_t *c, char *m_artist, char *m_album) mode = LIST_ARTISTS; } metalist_length = g_list_length(metalist); - browser.lw->clear = TRUE; } /* db updated */ @@ -160,7 +159,6 @@ browse_callback(mpdclient_t *c, int event, mpd_unused gpointer data) switch(event) { case BROWSE_DB_UPDATED: D("screen_artist.c> browse_callback() [BROWSE_DB_UPDATED]\n"); - browser.lw->clear = 1; update_metalist(c, g_strdup(artist), g_strdup(album)); break; default: @@ -215,8 +213,6 @@ resize(int cols, int rows) static void paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) { - browser.lw->clear = 1; - if (browser.filelist) { list_window_paint(browser.lw, browser_lw_callback, browser.filelist); |