summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-27 16:16:21 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-27 16:16:21 +0000
commit311080ff54268aeccc19277dead9f276e27e1f43 (patch)
tree456638b59a2365473b6cc9622190cbb3e44611ba /riscos/textselection.c
parentdccf6e428086dd3baf6432c70595cf8d9df5df26 (diff)
downloadnetsurf-311080ff54268aeccc19277dead9f276e27e1f43.tar.gz
netsurf-311080ff54268aeccc19277dead9f276e27e1f43.tar.bz2
Simplify browser_window_mouse_drag_end calls.
svn path=/trunk/netsurf/; revision=12513
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/riscos/textselection.c b/riscos/textselection.c
index 2aa5b9239..b5d88dca9 100644
--- a/riscos/textselection.c
+++ b/riscos/textselection.c
@@ -183,10 +183,7 @@ void ro_gui_selection_drag_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);
}