Remove redundant drag handling for content selection

This redundant code was added by:
4747bbbfb2 HTML drags now go via content msg.
and then added again with:
c2a718075a A load of refactoring of how content selection and input work.
This commit is contained in:
Vincent Sanders 2019-11-12 21:48:50 +00:00
parent b9bc34b875
commit 074407d251
1 changed files with 0 additions and 10 deletions

View File

@ -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);