Code

screen.c: don't disable CMD_SCREEN_SWAP on !OUTPUTS_SCREEN
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 12 Oct 2011 19:53:47 +0000 (21:53 +0200)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 12 Oct 2011 20:58:19 +0000 (22:58 +0200)
src/screen.c

index 9bbfda742ff2a32afd7c82d78ac26cd03e02af86..af8a19a958c8dd59dc3531867380fa7b01d9626b 100644 (file)
@@ -560,10 +560,10 @@ screen_cmd(struct mpdclient *c, command_t cmd)
        case CMD_SCREEN_OUTPUTS:
                screen_switch(&screen_outputs, c);
                break;
+#endif
        case CMD_SCREEN_SWAP:
                screen_swap(c, NULL);
                break;
-#endif
 
        default:
                break;