From c9220a7acca73dd78687e53fb814a53327443bc5 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Thu, 22 Aug 2024 16:24:27 +0200 Subject: [PATCH] chore: Update smithay --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/input/mod.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 06a31055..9209117c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4703,7 +4703,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smithay" version = "0.3.0" -source = "git+https://github.com/smithay//smithay?rev=298bef3#298bef358d4bbffd3a1159dc2ec418b9f81417cc" +source = "git+https://github.com/smithay//smithay?rev=65c4abf#65c4abf4cbdf122abff96ad17a440c76a8cf7cea" dependencies = [ "appendlist", "ash 0.38.0+1.3.281", diff --git a/Cargo.toml b/Cargo.toml index f24d4403..1268a276 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,4 +116,4 @@ inherits = "release" lto = "fat" [patch."https://github.com/Smithay/smithay.git"] -smithay = { git = "https://github.com/smithay//smithay", rev = "298bef3" } +smithay = { git = "https://github.com/smithay//smithay", rev = "65c4abf" } diff --git a/src/input/mod.rs b/src/input/mod.rs index 0a1fe930..2188305e 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1607,8 +1607,8 @@ impl State { let tablet_seat = seat.tablet_seat(); let tablet = tablet_seat.get_tablet(&TabletDescriptor::from(&event.device())); - let tool = - tablet_seat.add_tool::(&self.common.display_handle, &event.tool()); + let dh = self.common.display_handle.clone(); + let tool = tablet_seat.add_tool::(self, &dh, &event.tool()); if let Some(tablet) = tablet { match event.state() {