Skip to content

gdk/wayland: Update selection's offer before updating dnd targets

Vlad Zahorodnii requested to merge zzag/gtk:work/zzag/kde-dnd into gtk-3-24

gdk_wayland_drop_context_update_targets gets targets from the selection's offer. In order to ensure that the drop context has up-to-date targets, update the selection's offer before updating targets.

This fixes drag-and-drop not working reliably when running Firefox in Plasma Wayland session.

Merge request reports