aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_artist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:40:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:40:29 +0200
commit9e27391e321912878f7cddaa92f2c8201c6e91de (patch)
treed4177ec184712f13cdf4d3276a03c981c073e225 /src/screen_artist.c
parent0fd4d0c99d31b69356c289d3bb1dcd791b898028 (diff)
downloadmpd-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 '')
-rw-r--r--src/screen_artist.c4
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);