aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-14 08:35:49 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-14 09:03:20 +0300
commit0d3610416cb030e81251c4accf84353acf2059f0 (patch)
tree368f1509ccd13d1c1b990b5ead4768730fa8d176 /src/handlers
parent377ad540165415b4141621b6b38f2da6fdecb24c (diff)
downloadniri-0d3610416cb030e81251c4accf84353acf2059f0.tar.gz
niri-0d3610416cb030e81251c4accf84353acf2059f0.tar.bz2
niri-0d3610416cb030e81251c4accf84353acf2059f0.zip
Update Smithay (idle-notify 2)
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/mod.rs10
1 files changed, 6 insertions, 4 deletions
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
}
}