summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
authorSteve Fryatt <stevef@netsurf-browser.org>2013-09-08 13:27:11 +0100
committerSteve Fryatt <stevef@netsurf-browser.org>2013-09-08 13:27:11 +0100
commitee8fb6f39f3014cf4e4c17a28904850a58f2f4f3 (patch)
tree768f2696348c8ed0038030b35217474fb2a29019 /riscos/textselection.c
parenta00e0f91c7ccb27108cc396ca8afa3207935de4c (diff)
downloadnetsurf-ee8fb6f39f3014cf4e4c17a28904850a58f2f4f3.tar.gz
netsurf-ee8fb6f39f3014cf4e4c17a28904850a58f2f4f3.tar.bz2
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.
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c6
1 files changed, 0 insertions, 6 deletions
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)