diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-03 19:53:20 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-03 19:53:20 +0000 |
commit | 07024b05c4be91498245a3066fc3365259acf8bd (patch) | |
tree | 0f3d72734582d9490933abbb4ee9e1cdcaf8a06c /amiga/drag.c | |
parent | dfc2fe6f970b50fc55b00b41e4c178fad2544770 (diff) | |
download | netsurf-07024b05c4be91498245a3066fc3365259acf8bd.tar.gz netsurf-07024b05c4be91498245a3066fc3365259acf8bd.tar.bz2 |
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.
Diffstat (limited to 'amiga/drag.c')
-rw-r--r-- | amiga/drag.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |