Fully clear clipregion, stops eg. only a little bit of images being shown if the previous

page had an animated GIF

svn path=/trunk/netsurf/; revision=7662
This commit is contained in:
Chris Young 2009-05-31 10:14:55 +00:00
parent c55f902197
commit 1e42e3a7ce

View File

@ -2179,6 +2179,11 @@ void ami_clearclipreg(struct RastPort *rp)
reg = InstallClipRegion(rp->Layer,NULL);
if(reg) DisposeRegion(reg);
glob.rect.MinX = 0;
glob.rect.MinY = 0;
glob.rect.MaxX = scrn->Width-1;
glob.rect.MaxY = scrn->Height-1;
}
void ami_do_redraw_limits(struct gui_window *g, struct content *c,int x0, int y0, int x1, int y1)