mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Fix inversed condition in criteria
This commit is contained in:
parent
6f71749398
commit
1f2e0ff54b
|
@ -235,7 +235,7 @@ struct match_data {
|
|||
static void criteria_get_views_iterator(struct sway_container *container,
|
||||
void *data) {
|
||||
struct match_data *match_data = data;
|
||||
if (!container->view) {
|
||||
if (container->view) {
|
||||
if (criteria_matches_view(match_data->criteria, container->view)) {
|
||||
list_add(match_data->matches, container->view);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue