From 610fca368b4b438fd2868f8a4d6a39a45f823e6b Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 7 Apr 2005 20:46:22 +0000 Subject: [project @ 2005-04-07 20:46:22 by rjw] Update to the way menus are handled. Various GUI bug fixes. svn path=/import/netsurf/; revision=1603 --- riscos/mouseactions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos/mouseactions.c') diff --git a/riscos/mouseactions.c b/riscos/mouseactions.c index 1fa7626b8..aa068d00d 100644 --- a/riscos/mouseactions.c +++ b/riscos/mouseactions.c @@ -11,6 +11,7 @@ #include "netsurf/utils/config.h" #include "netsurf/desktop/browser.h" #include "netsurf/riscos/gui.h" +#include "netsurf/riscos/menus.h" #include "netsurf/riscos/options.h" #include "netsurf/utils/log.h" @@ -39,7 +40,7 @@ void ro_gui_mouse_action(struct gui_window *g) { if (ma == mouseaction_NONE) { os_mouse(&x, &y, NULL, NULL); - ro_gui_create_menu(browser_menu, x - 64, y, g); + ro_gui_menu_create(browser_menu, x - 64, y, g->window); } else { -- cgit v1.2.3