Set drag type correctly for page drag.

svn path=/trunk/netsurf/; revision=13375
This commit is contained in:
Michael Drake 2012-01-06 12:41:24 +00:00
parent 097800ff47
commit b4bf069099

View File

@ -2612,7 +2612,7 @@ void browser_window_redraw_rect(struct browser_window *bw, int x, int y,
void browser_window_page_drag_start(struct browser_window *bw, int x, int y)
{
bw->drag_type = DRAGGING_PAGE_SCROLL;
browser_window_set_drag_type(bw, DRAGGING_PAGE_SCROLL);
bw->drag_start_x = x;
bw->drag_start_y = y;