wayland: Remove atspi protocol

If we want to use the `org.freedesktop.a11y.KeyboardMonitor` protocol on
Pop!_OS, there is no need to support the Cosmic-specific protocol that
requires an `at-spi2-core` patch.
This commit is contained in:
Ian Douglas Scott 2025-11-14 14:45:36 -08:00 committed by Ian Douglas Scott
parent f065143d3e
commit a3904af03c
9 changed files with 8 additions and 519 deletions

View file

@ -16,7 +16,6 @@ use crate::{
handlers::{data_device::get_dnd_icon, screencopy::SessionHolder},
protocols::{
a11y::A11yState,
atspi::AtspiState,
corner_radius::CornerRadiusState,
drm::WlDrmState,
image_capture_source::ImageCaptureSourceState,
@ -271,9 +270,6 @@ pub struct Common {
pub xwayland_shell_state: XWaylandShellState,
pub pointer_focus_state: Option<PointerFocusState>,
pub atspi_state: AtspiState,
pub atspi_ei: crate::wayland::handlers::atspi::AtspiEiState,
#[cfg(feature = "systemd")]
pub inhibit_lid_fd: Option<OwnedFd>,
}
@ -708,9 +704,6 @@ impl State {
let a11y_keyboard_monitor_state = A11yKeyboardMonitorState::new(&async_executor);
// TODO: Restrict to only specific client?
let atspi_state = AtspiState::new::<State, _>(dh, client_has_no_security_context);
State {
common: Common {
config,
@ -774,9 +767,6 @@ impl State {
xwayland_shell_state,
pointer_focus_state: None,
atspi_state,
atspi_ei: Default::default(),
#[cfg(feature = "systemd")]
inhibit_lid_fd: None,
},