wayland: add support for security-context-v1

This commit is contained in:
Yuri Nesterov 2024-05-16 12:52:47 +03:00 committed by Johan Malm
parent 15135465d9
commit 65f7499f1c
9 changed files with 72 additions and 4 deletions

View file

@ -34,6 +34,8 @@ view_matches_criteria(struct window_rule *rule, struct view *view)
query.identifier = rule->identifier;
query.title = rule->title;
query.window_type = rule->window_type;
query.sandbox_engine = rule->sandbox_engine;
query.sandbox_app_id = rule->sandbox_app_id;
if (rule->match_once && other_instances_exist(view, &query)) {
return false;