sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 8ecd89b7efad46efa17c3275c5daa3de5943254b
parent ae78f6fb9383392915421784cb97910bbbfb60f2
Author: Tony Crisci <tony@dubstepdish.com>
Date:   Sun,  8 Apr 2018 14:22:20 -0400

address feedback

Diffstat:
Msway/criteria.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/criteria.c b/sway/criteria.c @@ -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;