From 0d3610416cb030e81251c4accf84353acf2059f0 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 14 Feb 2025 08:35:49 +0300 Subject: Update Smithay (idle-notify 2) --- src/handlers/mod.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/handlers') diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs index 4734b2ba..98cb87ea 100644 --- a/src/handlers/mod.rs +++ b/src/handlers/mod.rs @@ -50,7 +50,9 @@ use smithay::wayland::selection::data_device::{ use smithay::wayland::selection::primary_selection::{ set_primary_focus, PrimarySelectionHandler, PrimarySelectionState, }; -use smithay::wayland::selection::wlr_data_control::{DataControlHandler, DataControlState}; +use smithay::wayland::selection::wlr_data_control::{ + DataControlHandler as WlrDataControlHandler, DataControlState as WlrDataControlState, +}; use smithay::wayland::selection::{SelectionHandler, SelectionTarget}; use smithay::wayland::session_lock::{ LockSurface, SessionLockHandler, SessionLockManagerState, SessionLocker, @@ -386,9 +388,9 @@ impl PrimarySelectionHandler for State { } delegate_primary_selection!(State); -impl DataControlHandler for State { - fn data_control_state(&self) -> &DataControlState { - &self.niri.data_control_state +impl WlrDataControlHandler for State { + fn data_control_state(&self) -> &WlrDataControlState { + &self.niri.wlr_data_control_state } } -- cgit