From ee8fb6f39f3014cf4e4c17a28904850a58f2f4f3 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 8 Sep 2013 13:27:11 +0100 Subject: Allow ro_mouse to enable null polls; remove unused global variables. Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling. Remove unused calls to drag type globals. --- riscos/textselection.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'riscos/textselection.c') diff --git a/riscos/textselection.c b/riscos/textselection.c index 501ac97e6..ab8ea5c3a 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -126,8 +126,6 @@ void gui_start_selection(struct gui_window *g) LOG(("xwimp_auto_scroll: 0x%x: %s", error->errnum, error->errmess)); - gui_current_drag_type = GUI_DRAG_SELECTION; - gui_track_gui_window = g; // \TODO -- Remove? ro_mouse_drag_start(ro_gui_selection_drag_end, ro_gui_window_mouse_at, NULL, g); @@ -163,10 +161,6 @@ static void ro_gui_selection_drag_end(wimp_dragged *drag, void *data) os_coord pos; struct gui_window *g = (struct gui_window *) data; - LOG(("ending text selection drag")); - - gui_current_drag_type = GUI_DRAG_NONE; - scroll.w = g->window; error = xwimp_auto_scroll(0, &scroll, 0); if (error) -- cgit v1.2.3