diff --git a/sway/criteria.c b/sway/criteria.c index 5cc5b8d2..e62f9c1f 100644 --- a/sway/criteria.c +++ b/sway/criteria.c @@ -190,7 +190,7 @@ static bool criteria_matches_view(struct criteria *criteria, if (criteria->title) { const char *title = view_get_title(view); if (!title) { - return false; + title = ""; } switch (criteria->title->match_type) {