diff --git a/sway/criteria.c b/sway/criteria.c index 0193233e..2ba475f7 100644 --- a/sway/criteria.c +++ b/sway/criteria.c @@ -339,6 +339,8 @@ static enum criteria_token token_from_name(char *name) { return T_URGENT; } else if (strcmp(name, "workspace") == 0) { return T_WORKSPACE; + } else if (strcmp(name, "floating") == 0) { + return T_FLOATING; } return T_INVALID; }