diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-08 14:22:20 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-08 14:22:20 -0400 |
commit | 8ecd89b7efad46efa17c3275c5daa3de5943254b (patch) | |
tree | 6ab63a1bd3432b885559ec4687209c74b3dc471c | |
parent | Merge branch 'wlroots' into focus-inactive-fixes (diff) | |
download | sway-8ecd89b7efad46efa17c3275c5daa3de5943254b.tar.gz sway-8ecd89b7efad46efa17c3275c5daa3de5943254b.tar.zst sway-8ecd89b7efad46efa17c3275c5daa3de5943254b.zip |
address feedback
-rw-r--r-- | sway/criteria.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/criteria.c b/sway/criteria.c index 53461c74..22e9a49b 100644 --- a/sway/criteria.c +++ b/sway/criteria.c | |||
@@ -273,7 +273,7 @@ static int regex_cmp(const char *item, const pcre *regex) { | |||
273 | 273 | ||
274 | // test a single view if it matches list of criteria tokens (all of them). | 274 | // test a single view if it matches list of criteria tokens (all of them). |
275 | static bool criteria_test(struct sway_container *cont, list_t *tokens) { | 275 | static bool criteria_test(struct sway_container *cont, list_t *tokens) { |
276 | if (cont->type < C_CONTAINER) { | 276 | if (cont->type != C_CONTAINER && cont->type != C_VIEW) { |
277 | return false; | 277 | return false; |
278 | } | 278 | } |
279 | int matches = 0; | 279 | int matches = 0; |