From 311080ff54268aeccc19277dead9f276e27e1f43 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 27 Jun 2011 16:16:21 +0000 Subject: Simplify browser_window_mouse_drag_end calls. svn path=/trunk/netsurf/; revision=12513 --- riscos/window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index ae4d4ff1e..21573fcbd 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3636,10 +3636,7 @@ void ro_gui_window_scroll_end(struct gui_window *g, wimp_dragged *drag) } if (ro_gui_window_to_window_pos(g, drag->final.x0, drag->final.y0, &pos)) - browser_window_mouse_drag_end(g->bw, - ro_gui_mouse_click_state(pointer.buttons, - wimp_BUTTON_CLICK_DRAG), - pos.x, pos.y); + browser_window_mouse_drag_end(g->bw, 0, pos.x, pos.y); } -- cgit v1.2.3