summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-12 21:48:50 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-12 21:54:35 +0000
commit074407d251dfb93bdd663fe0d26079c902bc3b12 (patch)
treeeed3e865a48d72328c575a61220eac61ac5cb05f
parentb9bc34b8753d2b67f049ea1773dc0004a2d93eb9 (diff)
downloadnetsurf-074407d251dfb93bdd663fe0d26079c902bc3b12.tar.gz
netsurf-074407d251dfb93bdd663fe0d26079c902bc3b12.tar.bz2
Remove redundant drag handling for content selection
This redundant code was added by: 4747bbbfb21d645f950149bbe173a2618cd3eba9 HTML drags now go via content msg. and then added again with: c2a718075ad321a9cf4678e72645acda5c3471a9 A load of refactoring of how content selection and input work.
-rw-r--r--content/handlers/html/interaction.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/content/handlers/html/interaction.c b/content/handlers/html/interaction.c
index f3f8b566f..37951b666 100644
--- a/content/handlers/html/interaction.c
+++ b/content/handlers/html/interaction.c
@@ -599,16 +599,6 @@ html_mouse_action(struct content *c,
return;
}
- if (html->drag_type == HTML_DRAG_CONTENT_SELECTION) {
- box = html->drag_owner.content;
- assert(box->object != NULL);
-
- box_coords(box, &box_x, &box_y);
- content_mouse_track(box->object, bw, mouse,
- x - box_x, y - box_y);
- return;
- }
-
/* Content related drags handled by now */
assert(html->drag_type == HTML_DRAG_NONE);