зеркало из https://github.com/mozilla/pjs.git
Changes for qnx(photon) platform only. They should not affect building/running other platforms.
Dnd related...
This commit is contained in:
Родитель
981a2abfc9
Коммит
d3390ab91c
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче