diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-07-16 11:54:32 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-07-31 13:02:54 +0200 |
| commit | 672bf3e1ff5c5a31c2685ed558bd399789469a9c (patch) | |
| tree | 1c158621b2a19c405502b937be1936eedb1ee12f /src/niri.rs | |
| parent | fefc0bc0a71556eb75352e2b611e50eb5d3bf9c2 (diff) | |
| download | niri-672bf3e1ff5c5a31c2685ed558bd399789469a9c.tar.gz niri-672bf3e1ff5c5a31c2685ed558bd399789469a9c.tar.bz2 niri-672bf3e1ff5c5a31c2685ed558bd399789469a9c.zip | |
Implement org.fd.a11y KeyboardMonitor
Makes Orca work with niri:
- keyboard watching and announcing everywhere (not just GTK 3 windows)
- grabs for the Orca modifier (with double-press to pass through) and keystrokes
Diffstat (limited to 'src/niri.rs')
| -rw-r--r-- | src/niri.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/niri.rs b/src/niri.rs index 03fe6d4f..1d82ba6e 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -385,6 +385,8 @@ pub struct Niri { #[cfg(feature = "dbus")] pub dbus: Option<crate::dbus::DBusServers>, #[cfg(feature = "dbus")] + pub a11y_keyboard_monitor: Option<crate::dbus::freedesktop_a11y::KeyboardMonitor>, + #[cfg(feature = "dbus")] pub inhibit_power_key_fd: Option<zbus::zvariant::OwnedFd>, pub ipc_server: Option<IpcServer>, @@ -2659,6 +2661,8 @@ impl Niri { #[cfg(feature = "dbus")] dbus: None, #[cfg(feature = "dbus")] + a11y_keyboard_monitor: None, + #[cfg(feature = "dbus")] inhibit_power_key_fd: None, ipc_server, |
