From 07024b05c4be91498245a3066fc3365259acf8bd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 3 Jan 2013 19:53:20 +0000 Subject: Change the mouse pointer back to what it was (and what NetSurf thinks it is) instead of to the default pointer. Additionally don't use ami_update_pointer for treeview windows as AmigaOS has a pointer setting per window, but NetSurf is only storing the current one as a single global variable. --- amiga/drag.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'amiga/drag.c') diff --git a/amiga/drag.c b/amiga/drag.c index e19b27393..20dbc78e3 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -142,7 +142,7 @@ void ami_drag_save(struct Window *win) return; } - ami_update_pointer(win,GUI_POINTER_WAIT); + ami_update_pointer(win, GUI_POINTER_WAIT, false); switch(drag_save) { @@ -189,7 +189,7 @@ void ami_drag_save(struct Window *win) drag_save = 0; drag_save_data = NULL; - ami_update_pointer(win,GUI_POINTER_DEFAULT); + ami_update_pointer(win, GUI_POINTER_DEFAULT, false); } void ami_drag_icon_show(struct Window *win, const char *type) @@ -205,12 +205,12 @@ void ami_drag_icon_show(struct Window *win, const char *type) if(nsoption_bool(drag_save_icons) == false) { - ami_update_pointer(win, AMI_GUI_POINTER_DRAG); + ami_update_pointer(win, AMI_GUI_POINTER_DRAG, false); return; } else { - ami_update_pointer(win, GUI_POINTER_DEFAULT); + ami_update_pointer(win, GUI_POINTER_DEFAULT, false); } if(!strcmp(type, "drawer")) deftype = WBDRAWER; @@ -266,7 +266,7 @@ void ami_drag_icon_move(void) void ami_drag_icon_close(struct Window *win) { if(drag_icon) CloseWindow(drag_icon); - if(win) ami_update_pointer(win, GUI_POINTER_DEFAULT); + if(win) ami_update_pointer(win, GUI_POINTER_DEFAULT, false); drag_icon = NULL; drag_in_progress = FALSE; } -- cgit v1.2.3