diff --git a/examples/sctk_drag/src/main.rs b/examples/sctk_drag/src/main.rs index 5d90c4a7c2..f85265563a 100644 --- a/examples/sctk_drag/src/main.rs +++ b/examples/sctk_drag/src/main.rs @@ -160,7 +160,7 @@ impl Application for DndTest { .map(|t| t.to_string()) .collect(), DndAction::Move, - window::Id::unique(), + window::Id::MAIN, Some(DndIcon::Custom(iced::window::Id::unique())), Box::new(MyDndString( self.current_text.chars().rev().collect::(),