criteria match containers

master
Tony Crisci 7 years ago
parent 46280460a5
commit 70b33342fe

@ -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_VIEW) {
if (cont->type < C_CONTAINER) {
return false;
}
int matches = 0;

Loading…
Cancel
Save