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