diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-23 20:23:42 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-23 20:23:42 +0000 |
commit | f839072214f7f4f3cb7723462cc9557e0ccbbad1 (patch) | |
tree | dc94aaf3875a68cdd4179fc514ff518ba02aca84 | |
parent | c7444417a1ed04aee6144ca4754ed758dcb0c208 (diff) | |
download | mpd-f839072214f7f4f3cb7723462cc9557e0ccbbad1.tar.gz mpd-f839072214f7f4f3cb7723462cc9557e0ccbbad1.tar.xz mpd-f839072214f7f4f3cb7723462cc9557e0ccbbad1.zip |
Dont run mpc_update() directly after a volume change command.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@419 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -120,7 +120,10 @@ main(int argc, const char *argv[]) if( (cmd=get_keyboard_command()) != CMD_NONE ) { screen_cmd(mpc, cmd); - counter=0; + if( cmd==CMD_VOLUME_UP || cmd==CMD_VOLUME_DOWN) + counter=10; + else + counter=0; } } else if( options->reconnect ) |