From 58e2d033ece8c60f495ddba9a93ecab793a7a50f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 18 Jul 2004 17:38:01 +0000 Subject: [project @ 2004-07-18 17:38:01 by bursa] Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code. svn path=/import/netsurf/; revision=1096 --- riscos/textselection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/textselection.c') diff --git a/riscos/textselection.c b/riscos/textselection.c index 7129fd2ac..b2b69baff 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -50,13 +50,13 @@ void ro_gui_selection_drag_end(wimp_dragged *drag) msg.type = act_ALTER_SELECTION; browser_window_action(current_gui->bw, &msg);*/ - if (box_position_eq(&(current_gui->bw->current_content->data.html.text_selection.start), - &(current_gui->bw->current_content->data.html.text_selection.end))) +/* if (box_position_eq(&(current_gui->bw->current_content->data.html.text_selection.start), */ +/* &(current_gui->bw->current_content->data.html.text_selection.end))) */ { /* msg.type = act_CLEAR_SELECTION; browser_window_action(current_gui->bw, &msg);*/ } - current_gui->bw->current_content->data.html.text_selection.altering = alter_UNKNOWN; +/* current_gui->bw->current_content->data.html.text_selection.altering = alter_UNKNOWN; */ } -- cgit v1.2.3