2022-07-15 14:22:02 +02:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
|
|
|
|
|
|
use crate::state::State;
|
|
|
|
|
use smithay::{
|
|
|
|
|
delegate_primary_selection,
|
2023-10-10 13:28:30 -07:00
|
|
|
wayland::selection::primary_selection::{PrimarySelectionHandler, PrimarySelectionState},
|
2022-07-15 14:22:02 +02:00
|
|
|
};
|
2023-02-13 17:44:24 +01:00
|
|
|
|
2022-07-15 14:22:02 +02:00
|
|
|
impl PrimarySelectionHandler for State {
|
|
|
|
|
fn primary_selection_state(&self) -> &PrimarySelectionState {
|
|
|
|
|
&self.common.primary_selection_state
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
delegate_primary_selection!(State);
|