Bug 1635757 [Wayland] Provide more logging to nsDragService, r=jhorak

Differential Revision: https://phabricator.services.mozilla.com/D74038
This commit is contained in:
Martin Stransky 2020-05-06 15:02:25 +00:00
parent 2aec868777
commit a9b7b022bf

View File

@ -1332,12 +1332,14 @@ void nsDragService::SourceEndDragSession(GdkDragContext* aContext,
gchar* name = gdk_atom_name(atom);
if (name && (strcmp(name, gTabDropType) == 0)) {
isWaylandTabDrop = true;
MOZ_LOG(sDragLm, LogLevel::Debug, ("is wayland tab drop\n"));
break;
}
}
}
#endif
if (aResult != MOZ_GTK_DRAG_RESULT_NO_TARGET && !isWaylandTabDrop) {
MOZ_LOG(sDragLm, LogLevel::Debug, ("drop is user chancelled\n"));
mUserCancelled = true;
}
}