summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a445e55)
raw | patch | inline | side by side (parent: a445e55)
author | Jeffrey Middleton <jefromi@gmail.com> | |
Thu, 5 Mar 2009 22:43:13 +0000 (16:43 -0600) | ||
committer | Jeffrey Middleton <jefromi@gmail.com> | |
Thu, 5 Mar 2009 19:15:58 +0000 (13:15 -0600) |
Visual selection mode is a good sign the user is looking at whatever's
on the screen. Especially if MPD is in random mode, suddenly jumping
somewhere else is a bad plan.
on the screen. Especially if MPD is in random mode, suddenly jumping
somewhere else is a bad plan.
src/screen_play.c | patch | blob | history |
diff --git a/src/screen_play.c b/src/screen_play.c
index c69f64c220324264874c862a0dbef60e71e16187..f668757896d3fc81539a1f7eda79673c54f312c7 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
prev_song_id = current_song_id;
/* center the cursor */
- if (options.auto_center && current_song_id != -1)
+ if (options.auto_center && current_song_id != -1 && ! lw->visual_selection)
center_playing_item(c);
playlist_repaint();