We'll probably want to add support for `cursor-shape-v1`. Not sure about `wlr-data-control-unstable-v1`. But this just updates to work with the latest smithay commit for new.
15 lines
408 B
Rust
15 lines
408 B
Rust
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
use crate::state::State;
|
|
use smithay::{
|
|
delegate_primary_selection,
|
|
wayland::selection::primary_selection::{PrimarySelectionHandler, PrimarySelectionState},
|
|
};
|
|
|
|
impl PrimarySelectionHandler for State {
|
|
fn primary_selection_state(&self) -> &PrimarySelectionState {
|
|
&self.common.primary_selection_state
|
|
}
|
|
}
|
|
|
|
delegate_primary_selection!(State);
|