Starts a drag and creates a new drag context for it.
This function assumes that the drag is controlled by the client pointer device, use drag_begin_for_device to begin a drag with a different device.
This function is called by the drag source.
window |
the source window for this drag. |
targets |
the offered targets, as list of Atoms |
a newly created DragContext |