cosmic-comp/src/wayland/handlers/primary_selection.rs
2026-05-19 19:26:25 +02:00

12 lines
349 B
Rust

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