diff --git a/sway/commands/scratchpad.c b/sway/commands/scratchpad.c index 8a63740c3..80318053c 100644 --- a/sway/commands/scratchpad.c +++ b/sway/commands/scratchpad.c @@ -121,7 +121,7 @@ struct cmd_results *cmd_scratchpad(int argc, char **argv) { // we'll return an error. The same is true if the // overridden node is not a container. if (!con || !con->scratchpad) { - return cmd_results_new(CMD_INVALID, "Container is not in scratchpad."); + return cmd_results_new(CMD_FAILURE, "Container is not in scratchpad."); } scratchpad_toggle_container(con); } else {