cosmic-comp/src/wayland/handlers/primary_selection.rs
Ian Douglas Scott 111eb4edf4 Update smithay, with cursor/selection changes
We'll probably want to add support for `cursor-shape-v1`. Not sure about
`wlr-data-control-unstable-v1`. But this just updates to work with the
latest smithay commit for new.
2023-10-10 13:32:41 -07:00

15 lines
408 B
Rust

// SPDX-License-Identifier: GPL-3.0-only
use crate::state::State;
use smithay::{
delegate_primary_selection,
wayland::selection::primary_selection::{PrimarySelectionHandler, PrimarySelectionState},
};
impl PrimarySelectionHandler for State {
fn primary_selection_state(&self) -> &PrimarySelectionState {
&self.common.primary_selection_state
}
}
delegate_primary_selection!(State);