cause content_redraw() to be called with the width and height of the content instead of the window.

r=tlsa

svn path=/trunk/netsurf/; revision=10754
This commit is contained in:
Vincent Sanders 2010-09-10 13:35:54 +00:00
parent 43eb5cd640
commit bf11d92769
1 changed files with 7 additions and 7 deletions

View File

@ -414,13 +414,13 @@ gboolean nsgtk_window_expose_event(GtkWidget *widget,
event->area.y + event->area.height);
content_redraw(c, 0, 0,
widget->allocation.width * scale,
widget->allocation.height * scale,
event->area.x,
event->area.y,
event->area.x + event->area.width,
event->area.y + event->area.height,
g->bw->scale, 0xFFFFFF);
content_get_width(c) * scale,
content_get_height(c) * scale,
event->area.x,
event->area.y,
event->area.x + event->area.width,
event->area.y + event->area.height,
g->bw->scale, 0xFFFFFF);
current_redraw_browser = NULL;
if (g->careth != 0)