mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 21:55:22 -04:00
flatpak-run-dbus: Allow two AT-SPI Registry signals in
These signals can be used by apps to monitor whether they need to emit signals on the a11y bus or not. This can very significantly reduce chattery on the a11y bus, and at least WebKit relies on these signals to be broadcasted in. The PR https://github.com/flatpak/xdg-dbus-proxy/pull/61 is required for this changeset to work as expected, but it can land independently as `--broadcast` is supported by xdg-dbus-proxy.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
92d7f9ec49
commit
1b4ff8d526
@@ -429,6 +429,8 @@ flatpak_run_add_a11y_dbus_args (FlatpakBwrap *app_bwrap,
|
||||
flatpak_bwrap_add_args (proxy_arg_bwrap,
|
||||
a11y_address,
|
||||
proxy_socket, "--filter", "--sloppy-names",
|
||||
"--broadcast=org.a11y.atspi.Registry.EventListenerRegistered=@/org/a11y/atspi/registry",
|
||||
"--broadcast=org.a11y.atspi.Registry.EventListenerDeregistered=@/org/a11y/atspi/registry",
|
||||
"--call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root",
|
||||
"--call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Unembed@/org/a11y/atspi/accessible/root",
|
||||
"--call=org.a11y.atspi.Registry=org.a11y.atspi.Registry.GetRegisteredEvents@/org/a11y/atspi/registry",
|
||||
|
||||
Reference in New Issue
Block a user