Merge pull request #2737 from Ragnis/criteria-floating

Parse floating criteria
This commit is contained in:
Drew DeVault 2018-09-30 19:29:26 +02:00 committed by GitHub
commit 51f68e10ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,6 +339,8 @@ static enum criteria_token token_from_name(char *name) {
return T_URGENT; return T_URGENT;
} else if (strcmp(name, "workspace") == 0) { } else if (strcmp(name, "workspace") == 0) {
return T_WORKSPACE; return T_WORKSPACE;
} else if (strcmp(name, "floating") == 0) {
return T_FLOATING;
} }
return T_INVALID; return T_INVALID;
} }