aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorRagnis Armus <ragnis@armus.ee>2018-09-30 19:59:32 +0300
committerRagnis Armus <ragnis@armus.ee>2018-09-30 19:59:32 +0300
commit1bd695ffd2d7a7771f1d332a25cc6caf618ef56e (patch)
tree8ca304faf5f3ea49b60822e86899fe1e88ca174e /sway
parente6a52ae387ff3db64cc0867415368bd711c41566 (diff)
Parse floating criteria
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;
}