From dd7da3b9415736caf34064277b7fdbbeff4b87ee Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 23 Jul 2026 07:49:25 -0700 Subject: [PATCH] Fix trait bound for `impl Dispatch2` I guess I missed this one. And have mostly been testing things on the branch to update to wayland-rs git (which also removes all of these bounds). This fixes an "overflow evaluating the requirement" I get trying to update `winit` to sctk 0.21.0. --- src/seat/touch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seat/touch.rs b/src/seat/touch.rs index 3bbd8a6586..cbf19c33d0 100644 --- a/src/seat/touch.rs +++ b/src/seat/touch.rs @@ -4,7 +4,7 @@ use wayland_client::protocol::wl_seat::WlSeat; use wayland_client::protocol::wl_surface::WlSurface; use wayland_client::protocol::wl_touch::{Event as TouchEvent, WlTouch}; -use wayland_client::{Connection, Dispatch, QueueHandle}; +use wayland_client::{Connection, QueueHandle}; use crate::dispatch2::Dispatch2; @@ -136,7 +136,7 @@ pub trait TouchHandler: Sized { impl Dispatch2 for TouchData where - D: Dispatch> + TouchHandler, + D: TouchHandler, { fn event( &self,