summaryrefslogtreecommitdiff
path: root/amiga/menu.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/menu.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/menu.c')
-rwxr-xr-xamiga/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/menu.c b/amiga/menu.c
index 3ecfbb16a..c3b191e40 100755
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -753,9 +753,9 @@ static void ami_menu_item_project_print(struct Hook *hook, APTR window, struct I
struct gui_window_2 *gwin;
GetAttr(WINDOW_UserData, (Object *)window, (ULONG *)&gwin);
- ami_update_pointer(gwin->win,GUI_POINTER_WAIT);
+ ami_update_pointer(gwin->win, GUI_POINTER_WAIT, false);
ami_print_ui(gwin->bw->current_content);
- ami_update_pointer(gwin->win,GUI_POINTER_DEFAULT);
+ ami_update_pointer(gwin->win, GUI_POINTER_DEFAULT, false);
}
static void ami_menu_item_project_about(struct Hook *hook, APTR window, struct IntuiMessage *msg)
@@ -766,7 +766,7 @@ static void ami_menu_item_project_about(struct Hook *hook, APTR window, struct I
GetAttr(WINDOW_UserData, (Object *)window, (ULONG *)&gwin);
- ami_update_pointer(gwin->win,GUI_POINTER_WAIT);
+ ami_update_pointer(gwin->win, GUI_POINTER_WAIT, false);
temp = ASPrintf("%s|%s|%s", messages_get("OK"),
messages_get("HelpCredits"),
@@ -800,7 +800,7 @@ static void ami_menu_item_project_about(struct Hook *hook, APTR window, struct I
else if(sel == 0)
browser_window_create("about:licence", NULL, 0, true, false);
- ami_update_pointer(gwin->win,GUI_POINTER_DEFAULT);
+ ami_update_pointer(gwin->win, GUI_POINTER_DEFAULT, false);
}
static void ami_menu_item_project_quit(struct Hook *hook, APTR window, struct IntuiMessage *msg)