Restrict atspi protocol to only clients without security context
This is only intended to be used by `orca`. I guess `|_| true` was a placeholder for a potentially more restrictive check, but use this for now, anyway.
This commit is contained in:
parent
f91115fb45
commit
f82db23f4a
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ impl State {
|
|||
let a11y_state = A11yState::new::<State, _>(dh, client_not_sandboxed);
|
||||
|
||||
// TODO: Restrict to only specific client?
|
||||
let atspi_state = AtspiState::new::<State, _>(dh, |_| true);
|
||||
let atspi_state = AtspiState::new::<State, _>(dh, client_has_no_security_context);
|
||||
|
||||
State {
|
||||
common: Common {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue