aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/criteria.c2
1 files changed, 1 insertions, 1 deletions
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) {