From: Kalle Wallin Date: Fri, 2 Jul 2004 15:26:48 +0000 (+0000) Subject: Make shure the list scrolls when moving a song X-Git-Tag: v0.12_alpha1~481 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8a22ebb6b68d5696ef853f07de96553e4ae506c4;p=ncmpc.git Make shure the list scrolls when moving a song git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1767 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/src/screen_play.c b/src/screen_play.c index 615472d..20fbe8f 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -52,6 +52,8 @@ playlist_changed_callback(mpdclient_t *c, int event, gpointer data) break; case PLAYLIST_EVENT_MOVE: lw->selected = *((int *) data); + if( lw->selectedstart ) + lw->start--; break; default: break;