From: Max Kellermann Date: Tue, 18 Nov 2008 23:06:22 +0000 (+0100) Subject: screen_lyrics: support CMD_VIEW X-Git-Tag: v0.12_beta1~32 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0bfd3def11a6a90c9aebe223299bb59629c0464;p=ncmpc.git screen_lyrics: support CMD_VIEW Jump to the song viewer screen. --- diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 9cffd57..0d525f5 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -330,6 +330,16 @@ lyrics_cmd(mpdclient_t *c, command_t cmd) } return true; +#ifdef ENABLE_SONG_SCREEN + case CMD_VIEW: + if (current.song != NULL) { + screen_song_switch(c, current.song); + return true; + } + + break; +#endif + case CMD_LOCATE: if (current.song != NULL) { screen_file_goto_song(c, current.song);