Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audgui: Make drag and drop work on Wayland. Closes: audacious-media-p…
…layer#1423 Calling both gtk_drag_get_data() and gtk_drag_finish() leads to drag and drop not working on Wayland and this error: "error reading selection buffer: Operation was cancelled" Move the gtk_drag_finish() call to the "drag-data-received" handler which gets triggered by calling gtk_drag_get_data() to fix this. See also: - https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/927 - https://docs.gtk.org/gtk3/signal.Widget.drag-drop.html Co-authored-by: John Lindgren <[email protected]>
- Loading branch information