Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag.

This commit is contained in:
Michael Drake 2013-08-16 08:18:52 +01:00
parent 2c695bc2fa
commit 46c74777a2
1 changed files with 2 additions and 0 deletions

View File

@ -1272,6 +1272,7 @@ void ro_gui_pointer_leaving_window(wimp_leaving *leaving)
case GUI_DRAG_SCROLL:
case GUI_DRAG_SAVE:
case GUI_DRAG_FRAME:
case GUI_DRAG_TREEVIEW:
/* ignore Pointer_Leaving_Window event that the Wimp mysteriously
issues when a Wimp_DragBox drag operation is started */
break;
@ -1298,6 +1299,7 @@ void ro_gui_pointer_entering_window(wimp_entering *entering)
case GUI_DRAG_SCROLL:
case GUI_DRAG_SAVE:
case GUI_DRAG_FRAME:
case GUI_DRAG_TREEVIEW:
/* ignore entering new windows/frames */
break;
default: