chore: Update smithay with Dispatch2

This commit is contained in:
Ian Douglas Scott 2026-04-28 16:58:33 -07:00 committed by Victoria Brekenfeld
parent b5186ef21a
commit 4106904a7e
46 changed files with 59 additions and 234 deletions

View file

@ -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);

View file

@ -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);