aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-22 10:20:57 +0200
committerMax Kellermann <max@duempel.org>2008-09-22 10:20:57 +0200
commit32f329d4efcbc8a1ce16af51e35392b1b6aa1326 (patch)
treed87c66c85cd79481f38ae711d1cfa4abd33c9279 /src/screen_file.c
parent8dd2f87a20e0c20fe5d59c991707c9a5dd60ca7c (diff)
downloadmpd-32f329d4efcbc8a1ce16af51e35392b1b6aa1326.tar.gz
mpd-32f329d4efcbc8a1ce16af51e35392b1b6aa1326.tar.xz
mpd-32f329d4efcbc8a1ce16af51e35392b1b6aa1326.zip
screen: don't set list_window->repaint
Several screens ignore the attribute list_window->repaint. Don't set it there. It will be replaced with a more intelligent repaint algorithm later.
Diffstat (limited to 'src/screen_file.c')
-rw-r--r--src/screen_file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index 26b273972..083b5e347 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -226,7 +226,6 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
case CMD_SCREEN_UPDATE:
screen->painted = 0;
browser.lw->clear = 1;
- browser.lw->repaint = 1;
browser.filelist = mpdclient_filelist_update(c, browser.filelist);
list_window_check_selected(browser.lw,
filelist_length(browser.filelist));