diff --git a/src/message.c b/src/message.c index 9d14c5a8..4962ceb6 100644 --- a/src/message.c +++ b/src/message.c @@ -1389,7 +1389,7 @@ static void handle_domain_space(FILE *rsp, struct token domain, char *message) daemon_fail(rsp, "cannot focus space because the display is in the middle of an animation.\n"); } else if (result == SPACE_OP_ERROR_IN_MISSION_CONTROL) { daemon_fail(rsp, "cannot focus space because mission-control is active.\n"); - } else { + } else if (result == SPACE_OP_ERROR_SCRIPTING_ADDITION) { daemon_fail(rsp, "cannot focus space due to an error with the scripting-addition.\n"); } }