Code

screen_keydef: support CMD_GO_ROOT_DIRECTORY
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 28 Dec 2011 22:37:00 +0000 (23:37 +0100)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 4 Jan 2012 18:01:46 +0000 (19:01 +0100)
Maybe a bit pointless, but some user might want that.

src/screen_keydef.c

index 0d7cb72b7a503b992802bd0c8bd1cfbe9a69c91b..0c392395e26a77e741b1976b4db90ca6a6660fd6 100644 (file)
@@ -425,6 +425,7 @@ keydef_cmd(G_GNUC_UNUSED struct mpdclient *c, command_t cmd)
                }
                return true;
        case CMD_GO_PARENT_DIRECTORY:
+       case CMD_GO_ROOT_DIRECTORY:
                if (subcmd != -1)
                        switch_to_command_mode();
                return true;