mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
Parse floating criteria
This commit is contained in:
parent
e6a52ae387
commit
1bd695ffd2
@ -339,6 +339,8 @@ static enum criteria_token token_from_name(char *name) {
|
|||||||
return T_URGENT;
|
return T_URGENT;
|
||||||
} else if (strcmp(name, "workspace") == 0) {
|
} else if (strcmp(name, "workspace") == 0) {
|
||||||
return T_WORKSPACE;
|
return T_WORKSPACE;
|
||||||
|
} else if (strcmp(name, "floating") == 0) {
|
||||||
|
return T_FLOATING;
|
||||||
}
|
}
|
||||||
return T_INVALID;
|
return T_INVALID;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user