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:
parent
f065143d3e
commit
a3904af03c
9 changed files with 8 additions and 519 deletions
10
src/state.rs
10
src/state.rs
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue