Drag & Drop coordinates are incorrect for Wayland popups
Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1710344 bookmarks can't be re-arranged by mouse on Wayland.
Drag & Drop coordinates are incorrect for Wayland when we do D&D on popup. It's because Wayland uses relative coordinates in D&D operations so we don't need to subtract parent coordinates as we do for X11.
gtkdnd.c / _gtk_drag_dest_handle_event():
gdk_window_get_position (window, &tx, &ty);
found = gtk_drag_find_widget (toplevel,
context,
info,
event->dnd.x_root - tx,
event->dnd.y_root - ty,
event->dnd.time,
(event->type == GDK_DRAG_MOTION) ?
gtk_drag_dest_motion :
gtk_drag_dest_drop);
Edited by Martin Stransky