diff --git a/src/seat/touch.rs b/src/seat/touch.rs index 3bbd8a658..cbf19c33d 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,