From 0884a2374860cbd1fad2b26443943ebd7765ec34 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Tue, 22 Jun 2004 15:14:34 +0000 Subject: Clear the main window on CMD_SCREEN_UPDATE git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1617 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/screen_play.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/screen_play.c') diff --git a/src/screen_play.c b/src/screen_play.c index b11229841..3478987b5 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -383,6 +383,9 @@ play_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) handle_add_to_playlist(screen, c); return 1; case CMD_SCREEN_UPDATE: + screen->painted = 0; + lw->clear = 1; + lw->repaint = 1; center_playing_item(screen, c); return 1; case CMD_LIST_MOVE_UP: -- cgit v1.2.3