diff --git a/src/input/dnd/grab.rs b/src/input/dnd/grab.rs index bc4e6d31537a..60973885bf53 100644 --- a/src/input/dnd/grab.rs +++ b/src/input/dnd/grab.rs @@ -76,6 +76,13 @@ where } } +impl> DnDGrab { + /// Data source for grab + pub fn source(&self) -> &S { + &self.data_source + } +} + impl DnDGrab where D::PointerFocus: DndFocus,