From 46c74777a2775e7ca5737dc76bf26acb9f3e7269 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 16 Aug 2013 08:18:52 +0100 Subject: [PATCH] Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag. --- riscos/gui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riscos/gui.c b/riscos/gui.c index 3365d813c..a312b3843 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -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: