Skip to content

Commit 62432af

Browse files
committed
Fix delivery of dragend when dropping outside the browser with OSR
1 parent e08c67e commit 62432af

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

java/org/cef/browser/CefBrowserOsr.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ public boolean startDragging(CefBrowser browser, CefDragData dragData, int mask,
416416
new StringSelection(dragData.getFragmentText()), new DragSourceAdapter() {
417417
@Override
418418
public void dragDropEnd(DragSourceDropEvent dsde) {
419-
if (dsde.getDropSuccess()) {
420-
dragSourceEndedAt(dsde.getLocation(), mask);
421-
}
419+
dragSourceEndedAt(dsde.getLocation(), mask);
422420
dragSourceSystemDragEnded();
423421
}
424422
});

0 commit comments

Comments
 (0)