summaryrefslogtreecommitdiff
path: root/amiga/download.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-03 19:53:20 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-03 19:53:20 +0000
commit07024b05c4be91498245a3066fc3365259acf8bd (patch)
tree0f3d72734582d9490933abbb4ee9e1cdcaf8a06c /amiga/download.c
parentdfc2fe6f970b50fc55b00b41e4c178fad2544770 (diff)
downloadnetsurf-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/download.c')
-rw-r--r--amiga/download.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/amiga/download.c b/amiga/download.c
index c0c88bb0b..37fc79e28 100644
--- a/amiga/download.c
+++ b/amiga/download.c
@@ -356,7 +356,12 @@ gui_window_save_link(struct gui_window *g, const char *url, const char *title)
{
strlcpy(fname, savereq->fr_Drawer, 1024);
AddPart(fname,savereq->fr_File,1024);
- ami_update_pointer(g->shared->win,GUI_POINTER_WAIT);
+
+ /* Set the busy pointer. We intentionally don't use ami_update_pointer here. */
+ SetWindowPointer(g->shared->win,
+ WA_BusyPointer, TRUE,
+ WA_PointerDelay, TRUE,
+ TAG_DONE);
if(ami_download_check_overwrite(fname, g->shared->win, 0))
{
@@ -383,7 +388,7 @@ gui_window_save_link(struct gui_window *g, const char *url, const char *title)
}
FreeVec(linkname);
}
- ami_update_pointer(g->shared->win,GUI_POINTER_DEFAULT);
+ ami_reset_pointer(g->shared->win);
}
}