aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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;
}