From c08ee820764673bb6d8ac367f8637d040adf7fa2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 10 Jan 2012 22:02:19 +0000 Subject: Allow drag handlers to inform browser window layer of any pointer range constraints. svn path=/trunk/netsurf/; revision=13394 --- render/textplain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index 3294d536a..eabc19b20 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -638,7 +638,7 @@ void textplain_mouse_track(struct content *c, struct browser_window *bw, idx = textplain_offset_from_coords(c, x, y, dir); selection_track(&text->sel, mouse, idx); - browser_window_set_drag_type(bw, DRAGGING_NONE); + browser_window_set_drag_type(bw, DRAGGING_NONE, NULL); } switch (bw->drag_type) { @@ -680,7 +680,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw, size_t idx; int dir = 0; - browser_window_set_drag_type(bw, DRAGGING_NONE); + browser_window_set_drag_type(bw, DRAGGING_NONE, NULL); idx = textplain_offset_from_coords(c, x, y, dir); if (selection_click(&text->sel, mouse, idx)) { -- cgit v1.2.3