chore: Update smithay with Dispatch2
This commit is contained in:
parent
b5186ef21a
commit
4106904a7e
46 changed files with 59 additions and 234 deletions
|
|
@ -1,13 +1,8 @@
|
|||
use crate::state::State;
|
||||
use smithay::{
|
||||
delegate_ext_data_control,
|
||||
wayland::selection::ext_data_control::{DataControlHandler, DataControlState},
|
||||
};
|
||||
use smithay::wayland::selection::ext_data_control::{DataControlHandler, DataControlState};
|
||||
|
||||
impl DataControlHandler for State {
|
||||
fn data_control_state(&mut self) -> &mut DataControlState {
|
||||
&mut self.common.ext_data_control_state
|
||||
}
|
||||
}
|
||||
|
||||
delegate_ext_data_control!(State);
|
||||
|
|
|
|||
|
|
@ -1,15 +1,10 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::state::State;
|
||||
use smithay::{
|
||||
delegate_data_control,
|
||||
wayland::selection::wlr_data_control::{DataControlHandler, DataControlState},
|
||||
};
|
||||
use smithay::wayland::selection::wlr_data_control::{DataControlHandler, DataControlState};
|
||||
|
||||
impl DataControlHandler for State {
|
||||
fn data_control_state(&mut self) -> &mut DataControlState {
|
||||
&mut self.common.wlr_data_control_state
|
||||
}
|
||||
}
|
||||
|
||||
delegate_data_control!(State);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue