fix mouse over co-ordinates to take into account scroll offsets

svn path=/trunk/netsurf/; revision=6489
This commit is contained in:
Vincent Sanders 2009-02-14 14:05:02 +00:00
parent d6cd92e0cc
commit 8ce23e69e0
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ fb_rootwindow_move(framebuffer_t *fb,
(y < widget->y + widget->height)) {
if (widget->g == g) {
browser_window_mouse_track(g->bw, 0, x - widget->x, y - widget->y);
browser_window_mouse_track(g->bw, 0, x - widget->x + g->scrollx, y - widget->y + g->scrolly);
break;
}
}