aboutsummaryrefslogtreecommitdiff
path: root/sway/criteria.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-03 13:02:06 +0200
committerGitHub <noreply@github.com>2018-10-03 13:02:06 +0200
commitf74829d390bab2eccd68923c4b8b82a873322168 (patch)
treed5ce057f8e2caa4dc8a44fdc747f15a1acb8e296 /sway/criteria.c
parent4e4d0c519140ae9c7c90e358d18bd6cd75413e30 (diff)
parenta519fb6fde42870bf6a72f214555ca62ffbe2832 (diff)
Merge pull request #2755 from RyanDwyer/fix-tiling-criteria
Fix tiling criteria
Diffstat (limited to 'sway/criteria.c')
-rw-r--r--sway/criteria.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index 2ba475f7..575e8bcf 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, "tiling") == 0) {
+ return T_TILING;
} else if (strcmp(name, "floating") == 0) {
return T_FLOATING;
}