Wayland only returns GDK_DRAG_CANCEL_ERROR to the "cancel" signal when DND ends
According to documentation , the
"cancel" signal should pass valid
GdkDragCancelReason. Under wayland dnd implementation it only returns GDK_DRAG_CANCEL_ERROR . The Xorg implementation is more capable in this area.
The reason we need this is a tab detachment from the app (Firefox in this case) to create a new window by using drag and drop. Currently the code presumes that user cancelled the action because the GDK_DRAG_CANCEL_NO_TARGET was not delivered to the