chore: smithay update

This commit is contained in:
Victoria Brekenfeld 2025-07-16 21:12:02 +02:00 committed by Victoria Brekenfeld
parent 2112e02fc9
commit bb7a6a7113
7 changed files with 55 additions and 61 deletions

View file

@ -7,8 +7,8 @@ use smithay::{
};
impl DataControlHandler for State {
fn data_control_state(&self) -> &DataControlState {
self.common.data_control_state.as_ref().unwrap()
fn data_control_state(&mut self) -> &mut DataControlState {
self.common.data_control_state.as_mut().unwrap()
}
}

View file

@ -103,8 +103,8 @@ impl ClientDndGrabHandler for State {
}
impl ServerDndGrabHandler for State {}
impl DataDeviceHandler for State {
fn data_device_state(&self) -> &DataDeviceState {
&self.common.data_device_state
fn data_device_state(&mut self) -> &mut DataDeviceState {
&mut self.common.data_device_state
}
}

View file

@ -7,8 +7,8 @@ use smithay::{
};
impl PrimarySelectionHandler for State {
fn primary_selection_state(&self) -> &PrimarySelectionState {
&self.common.primary_selection_state
fn primary_selection_state(&mut self) -> &mut PrimarySelectionState {
&mut self.common.primary_selection_state
}
}