dbus: Implement org.freedesktop.a11y.Manager protocol
This protocol is now the upstream solution in at-spi2-core/orca for registering keyboard grabs and watching key events. It should also be a bit better than the current verious of our custom Wayland protocol for this purpose. Like Mutter and Kwin, we currently restrict this to only be called by the client that holds the name `org.gnome.Orca.KeyboardMonitor` on the session bus. We also send the `KeyEvent` signal only to registered watchers, rather than broadcasting, as DBus does by default.
This commit is contained in:
parent
d08ac9645b
commit
f065143d3e
5 changed files with 358 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ use std::collections::HashMap;
|
|||
use tracing::{error, warn};
|
||||
use zbus::blocking::{Connection, fdo::DBusProxy};
|
||||
|
||||
pub mod a11y_keyboard_monitor;
|
||||
#[cfg(feature = "systemd")]
|
||||
pub mod logind;
|
||||
mod name_owners;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue