diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:36 +0200 |
commit | db3d8351879b4c69408be0e25f45cd514ad42044 (patch) | |
tree | 808b550bbbe71013f4e8b8fab3d623b13eb38c92 /src/screen_keydef.c | |
parent | 9e27391e321912878f7cddaa92f2c8201c6e91de (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/screen_keydef.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c index 38ba315c3..f6ae3d3e9 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -281,7 +281,6 @@ static void keydef_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) { list_window_paint(lw, list_callback, NULL); - wrefresh(lw->w); } static void @@ -289,7 +288,6 @@ keydef_update(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) { if (lw->repaint) { list_window_paint(lw, list_callback, NULL); - wrefresh(lw->w); lw->repaint = 0; } } |