Changeset 213638 in webkit
- Timestamp:
- Mar 9, 2017 6:24:04 AM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r213637 r213638 1 2017-03-09 Tomas Popela <tpopela@redhat.com> 2 3 Correctly process the return value of gdk_drag_context_get_selected_action() 4 5 Reviewed by Carlos Garcia Campos. 6 7 It returns the action itself and not the bitmask. 8 9 * UIProcess/gtk/DragAndDropHandler.cpp: 10 (WebKit::DragAndDropHandler::drop): 11 1 12 2017-03-09 Adrian Perez de Castro <aperez@igalia.com> 2 13 -
trunk/Source/WebKit2/UIProcess/gtk/DragAndDropHandler.cpp
r212881 r213638 291 291 292 292 uint32_t flags = 0; 293 if ( (gdk_drag_context_get_selected_action(context) & GDK_ACTION_COPY))293 if (gdk_drag_context_get_selected_action(context) == GDK_ACTION_COPY) 294 294 flags |= WebCore::DragApplicationIsCopyKeyDown; 295 295 DragData dragData(droppingContext->selectionData.ptr(), position, convertWidgetPointToScreenPoint(m_page.viewWidget(), position), gdkDragActionToDragOperation(gdk_drag_context_get_actions(context)), static_cast<WebCore::DragApplicationFlags>(flags));
Note: See TracChangeset
for help on using the changeset viewer.