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:
parent
43eb5cd640
commit
bf11d92769
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue