We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817f1bb commit 8d78ab6Copy full SHA for 8d78ab6
sway/criteria.c
@@ -287,7 +287,7 @@ static bool criteria_matches_view(struct criteria *criteria,
287
288
switch (criteria->instance->match_type) {
289
case PATTERN_FOCUSED:
290
- if (focused && strcmp(instance, view_get_instance(focused))) {
+ if (focused && lenient_strcmp(instance, view_get_instance(focused))) {
291
return false;
292
}
293
break;
@@ -307,7 +307,7 @@ static bool criteria_matches_view(struct criteria *criteria,
307
308
switch (criteria->window_role->match_type) {
309
310
- if (focused && strcmp(window_role, view_get_window_role(focused))) {
+ if (focused && lenient_strcmp(window_role, view_get_window_role(focused))) {
311
312
313
0 commit comments