diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 23:43:15 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 23:43:15 +0100 |
commit | b9dd0a60c300b0de6b117500f67b6724b520652c (patch) | |
tree | d9688a77d25e8e2b4ec2ce2357bfd54dbf1fc33d /frontends/amiga/theme.c | |
parent | 83c38318530678b81fa837e8c330107c97f447e2 (diff) | |
download | netsurf-b9dd0a60c300b0de6b117500f67b6724b520652c.tar.gz netsurf-b9dd0a60c300b0de6b117500f67b6724b520652c.tar.bz2 |
accessor for window from gui_window_2
Diffstat (limited to 'frontends/amiga/theme.c')
-rw-r--r-- | frontends/amiga/theme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/theme.c b/frontends/amiga/theme.c index 8e2f47059..f41d04b99 100644 --- a/frontends/amiga/theme.c +++ b/frontends/amiga/theme.c @@ -221,14 +221,14 @@ void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape) void ami_set_pointer(struct gui_window_2 *gwin, gui_pointer_shape shape, bool update) { if(gwin->mouse_pointer == shape) return; - ami_update_pointer(gwin->win, shape); + ami_update_pointer(ami_gui2_get_window(gwin), shape); if(update == true) gwin->mouse_pointer = shape; } /* reset the mouse pointer back to what NetSurf last set it as */ void ami_reset_pointer(struct gui_window_2 *gwin) { - ami_update_pointer(gwin->win, gwin->mouse_pointer); + ami_update_pointer(ami_gui2_get_window(gwin), gwin->mouse_pointer); } void ami_update_pointer(struct Window *win, gui_pointer_shape shape) |