From db3d8351879b4c69408be0e25f45cd514ad42044 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 17:40:36 +0200 Subject: 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. --- src/screen_play.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/screen_play.c') diff --git a/src/screen_play.c b/src/screen_play.c index 579d4f4ca..6eac958b6 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -362,7 +362,6 @@ static void play_paint(mpd_unused screen_t *screen, mpdclient_t *c) { list_window_paint(lw, list_callback, (void *) c); - wnoutrefresh(lw->w); } static void @@ -393,7 +392,6 @@ play_update(screen_t *screen, mpdclient_t *c) playlist_id = c->playlist.id; } else { list_window_paint(lw, list_callback, (void *) c); - wnoutrefresh(lw->w); } } -- cgit v1.2.3