aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/screen_play.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index 615472dcc..20fbe8fe1 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->selected<lw->start )
+ lw->start--;
break;
default:
break;