aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:40:36 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:40:36 +0200
commitdb3d8351879b4c69408be0e25f45cd514ad42044 (patch)
tree808b550bbbe71013f4e8b8fab3d623b13eb38c92 /src/screen_file.c
parent9e27391e321912878f7cddaa92f2c8201c6e91de (diff)
downloadmpd-db3d8351879b4c69408be0e25f45cd514ad42044.tar.gz
mpd-db3d8351879b4c69408be0e25f45cd514ad42044.tar.xz
mpd-db3d8351879b4c69408be0e25f45cd514ad42044.zip
screen: don't call wrefresh() in methods paint() and update()
screen_paint() and screen_update() are responsible for refreshing the screen. We can remove all wrefresh() and wnoutrefresh() invocations from all paint() and update() method implementations.
Diffstat (limited to 'src/screen_file.c')
-rw-r--r--src/screen_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index 8f9c6c897..a3bf192d9 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -178,7 +178,6 @@ static void
browse_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c)
{
list_window_paint(browser.lw, browser_lw_callback, browser.filelist);
- wnoutrefresh(browser.lw->w);
}
static void
@@ -191,7 +190,6 @@ browse_update(screen_t *screen, mpdclient_t *c)
}
list_window_paint(browser.lw, browser_lw_callback, browser.filelist);
- wnoutrefresh(browser.lw->w);
}
static int