summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-01-10 22:02:19 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-01-10 22:02:19 +0000
commitc08ee820764673bb6d8ac367f8637d040adf7fa2 (patch)
treec003e187e15b4202edcf4010fdb9851c12c16092 /render/textplain.c
parent411a707e3e53f479de579acfca50b085ebe37f5e (diff)
downloadnetsurf-c08ee820764673bb6d8ac367f8637d040adf7fa2.tar.gz
netsurf-c08ee820764673bb6d8ac367f8637d040adf7fa2.tar.bz2
Allow drag handlers to inform browser window layer of any pointer range constraints.
svn path=/trunk/netsurf/; revision=13394
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c4
1 files changed, 2 insertions, 2 deletions
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)) {