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/arexx.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/arexx.c')
-rwxr-xr-x | amiga/arexx.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c index c3279ad3d..154f69703 100755 --- a/amiga/arexx.c +++ b/amiga/arexx.c @@ -275,7 +275,12 @@ STATIC VOID rx_save(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unu if(!bw) return; - ami_update_pointer(bw->window->shared->win,GUI_POINTER_WAIT); + /* Set the busy pointer. We intentionally don't use ami_update_pointer here. */ + SetWindowPointer(bw->window->shared->win, + WA_BusyPointer, TRUE, + WA_PointerDelay, TRUE, + TAG_DONE); + if(fh = FOpen((char *)cmd->ac_ArgList[0], MODE_NEWFILE, 0)) { if(source_data = content_get_source_data(bw->current_content, &source_size)) @@ -285,7 +290,7 @@ STATIC VOID rx_save(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unu SetComment((char *)cmd->ac_ArgList[0], nsurl_access(hlcache_handle_get_url(bw->current_content))); } - ami_update_pointer(bw->window->shared->win,GUI_POINTER_DEFAULT); + ami_reset_pointer(bw->window->shared->win); } STATIC VOID rx_quit(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unused))) |