cosmic-comp/src/wayland/handlers/primary_selection.rs

13 lines
349 B
Rust
Raw Normal View History

2022-07-15 14:22:02 +02:00
// SPDX-License-Identifier: GPL-3.0-only
use crate::state::State;
use smithay::wayland::selection::primary_selection::{
PrimarySelectionHandler, PrimarySelectionState,
2022-07-15 14:22:02 +02:00
};
2022-07-15 14:22:02 +02:00
impl PrimarySelectionHandler for State {
2025-07-16 21:12:02 +02:00
fn primary_selection_state(&mut self) -> &mut PrimarySelectionState {
&mut self.common.primary_selection_state
2022-07-15 14:22:02 +02:00
}
}