mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
Merge pull request #2737 from Ragnis/criteria-floating
Parse floating criteria
This commit is contained in:
commit
51f68e10ad
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue