Skip to content

Commit 226e8ae

Browse files
author
Johan Vos
committed
8338306: WebView Drag and Drop fails with WebKit 619.1
Backport-of: 67ac9d7804cd8d572bcc3e06e2f640d8a744d3bb
1 parent ad149f3 commit 226e8ae

File tree

1 file changed

+3
-1
lines changed
  • modules/javafx.web/src/main/native/Source/WebKitLegacy/java/WebCoreSupport

1 file changed

+3
-1
lines changed

modules/javafx.web/src/main/native/Source/WebKitLegacy/java/WebCoreSupport/WebPage.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,8 +2250,10 @@ JNIEXPORT jint JNICALL Java_com_sun_webkit_WebPage_twkProcessDrag
22502250
case com_sun_webkit_WebPage_DND_DST_EXIT:
22512251
dc.dragExited(*localMainFrame,WTFMove(dragData));
22522252
return 0;
2253+
case com_sun_webkit_WebPage_DND_DST_ENTER:
22532254
case com_sun_webkit_WebPage_DND_DST_OVER:
2254-
2255+
case com_sun_webkit_WebPage_DND_DST_CHANGE:
2256+
return dragOperationToDragCursor(std::get<std::optional<WebCore::DragOperation>>(dc.dragEnteredOrUpdated(*localMainFrame, WTFMove(dragData))));
22552257
case com_sun_webkit_WebPage_DND_DST_DROP:
22562258
{
22572259
int ret = dc.performDragOperation(WTFMove(dragData)) ? 1 : 0;

0 commit comments

Comments
 (0)