mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
address feedback
This commit is contained in:
parent
ae78f6fb93
commit
8ecd89b7ef
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ static int regex_cmp(const char *item, const pcre *regex) {
|
|||
|
||||
// test a single view if it matches list of criteria tokens (all of them).
|
||||
static bool criteria_test(struct sway_container *cont, list_t *tokens) {
|
||||
if (cont->type < C_CONTAINER) {
|
||||
if (cont->type != C_CONTAINER && cont->type != C_VIEW) {
|
||||
return false;
|
||||
}
|
||||
int matches = 0;
|
||||
|
|
Loading…
Reference in a new issue