aboutsummaryrefslogtreecommitdiffstats
path: root/sway/criteria.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/criteria.c')
-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,
190 if (criteria->title) { 190 if (criteria->title) {
191 const char *title = view_get_title(view); 191 const char *title = view_get_title(view);
192 if (!title) { 192 if (!title) {
193 return false; 193 title = "";
194 } 194 }
195 195
196 switch (criteria->title->match_type) { 196 switch (criteria->title->match_type) {