Mark an issue for later

This commit is contained in:
Přemysl Eric Janouch 2018-10-20 10:10:24 +02:00
parent f241a7016a
commit 9c16ab4136
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 0 deletions

View File

@ -2141,6 +2141,8 @@ current_tab_move_song (const char *id, int diff)
char *target_str = xstrdup_printf ("%d", target); char *target_str = xstrdup_printf ("%d", target);
mpd_client_send_command (c, "moveid", id, target_str, NULL); mpd_client_send_command (c, "moveid", id, target_str, NULL);
free (target_str); free (target_str);
// TODO: we should create a cancellable action waiting for the move to
// finish, so that holding Shift-arrows works as expected.
mpd_client_add_task (c, mpd_on_simple_response, NULL); mpd_client_add_task (c, mpd_on_simple_response, NULL);
mpd_client_idle (c, 0); mpd_client_idle (c, 0);