From 074407d251dfb93bdd663fe0d26079c902bc3b12 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 12 Nov 2019 21:48:50 +0000 Subject: 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. --- content/handlers/html/interaction.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'content/handlers/html') 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); -- cgit v1.2.3