aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-30 19:29:26 +0200
committerGitHub <noreply@github.com>2018-09-30 19:29:26 +0200
commit51f68e10ad8bd42925dda24d06a6f6fccf3e6a39 (patch)
treeda20f4b9f7e175d665c4762e365d8ab4dded8ea0
parentbebe7dea8cd5ee4e10a368551c595397008e2d51 (diff)
parent1bd695ffd2d7a7771f1d332a25cc6caf618ef56e (diff)
Merge pull request #2737 from Ragnis/criteria-floating
Parse floating criteria
-rw-r--r--sway/criteria.c2
1 files changed, 2 insertions, 0 deletions
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;
}