Xmdragcancel a drag and drop function that terminates a drag transaction "xmdragcancel" "drag and drop functions" "xmdragcancel"
#include <Xm/DragDrop.h> void XmDragCancel( Widget dragcontext);
XmDragCancel terminates a drag operation and cancels any pending actions of the specified DragContext. This routine can only be called by the initiator client.
Specifies the ID of the DragContext widget associated with the drag and drop transaction to be terminated
For a complete definition of DragContext and its associated resources, see XmDragContext(3).