From 8b3715eabff6665f15488a5348641e1f4be060b2 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 13 Sep 2024 14:59:32 +0300 Subject: Update Smithay --- src/input/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/mod.rs b/src/input/mod.rs index 44832911..7fc606ba 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1897,7 +1897,8 @@ impl State { let under = self.niri.surface_under_and_global_space(pos); let tablet_seat = self.niri.seat.tablet_seat(); - let tool = tablet_seat.add_tool::(&self.niri.display_handle, &event.tool()); + let display_handle = self.niri.display_handle.clone(); + let tool = tablet_seat.add_tool::(self, &display_handle, &event.tool()); let tablet = tablet_seat.get_tablet(&TabletDescriptor::from(&event.device())); if let Some(tablet) = tablet { match event.state() { -- cgit