From 1bd695ffd2d7a7771f1d332a25cc6caf618ef56e Mon Sep 17 00:00:00 2001 From: Ragnis Armus Date: Sun, 30 Sep 2018 19:59:32 +0300 Subject: Parse floating criteria --- sway/criteria.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/criteria.c') 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; } -- cgit v1.2.3