зеркало из https://github.com/mozilla/gecko-dev.git
Changes for qnx(photon) platform only. They should not affect building/running other platforms.
Dnd related...
This commit is contained in:
Родитель
44bf000c5d
Коммит
b1cb3e8b48
|
@ -1180,6 +1180,7 @@ void nsWidget::ProcessDrag( PhEvent_t *event, PRUint32 aEventType, PhPoint_t *po
|
|||
|
||||
DispatchDragDropEvent( event, aEventType, pos );
|
||||
|
||||
int old_subtype = event->subtype;
|
||||
event->subtype = Ph_EV_DND_ENTER;
|
||||
|
||||
PRBool canDrop;
|
||||
|
@ -1193,6 +1194,8 @@ void nsWidget::ProcessDrag( PhEvent_t *event, PRUint32 aEventType, PhPoint_t *po
|
|||
PhAckDnd( event, Ph_EV_DND_MOTION, ( PhCursorDescription_t * ) &drop_cursor );
|
||||
}
|
||||
|
||||
event->subtype = old_subtype;
|
||||
|
||||
// Clear the cached value
|
||||
currSession->SetCanDrop(PR_FALSE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче