fix: remove the dragging state for now when a drop is performed

This commit is contained in:
Ashley Wulber 2023-09-19 17:24:57 -04:00 committed by Michael Murphy
parent fe9973090a
commit aa3af2a1fe

View file

@ -1026,6 +1026,13 @@ where
}
DraggingState::None
}
event::Event::PlatformSpecific(PlatformSpecific::Wayland(
wayland::Event::DataSource(wayland::DataSourceEvent::DndDropPerformed),
)) => {
ret = event::Status::Captured;
DraggingState::None
}
_ => DraggingState::Dragging(applet),
},
DraggingState::Pressed(start) => {