2022-07-15 14:22:02 +02:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
|
|
|
|
|
|
use crate::state::State;
|
2026-04-28 16:58:33 -07:00
|
|
|
use smithay::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 {
|
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
|
|
|
}
|
|
|
|
|
}
|