mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
criteria: allow matching on empty (NULL) titles
This commit is contained in:
parent
0fdeb4ca84
commit
e40eb338b9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user