mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag.
This commit is contained in:
parent
2c695bc2fa
commit
46c74777a2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user