diff options
author | James Bursa <james@netsurf-browser.org> | 2007-12-11 02:42:11 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2007-12-11 02:42:11 +0000 |
commit | 87a4dc07fd1a45968ebd4f695ef5293a31800f40 (patch) | |
tree | 8b92cff1618dfa01f616fc80e865e943a12b8e26 | |
parent | 13d479785c280780259cde2899f1390fc4db280a (diff) | |
download | netsurf-87a4dc07fd1a45968ebd4f695ef5293a31800f40.tar.gz netsurf-87a4dc07fd1a45968ebd4f695ef5293a31800f40.tar.bz2 |
Clear background when redrawing for all except HTML.
svn path=/trunk/netsurf/; revision=3662
-rw-r--r-- | riscos/window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c index b0dc828aa..7824bbe7a 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -97,7 +97,7 @@ static float scale_snap_to[] = {0.10, 0.125, 0.25, 0.333, 0.5, 0.75, /** An entry in ro_gui_pointer_table. */ struct ro_gui_pointer_entry { bool wimp_area; /** The pointer is in the Wimp's sprite area. */ - char sprite_name[12]; + char sprite_name[16]; int xactive; int yactive; }; @@ -1455,9 +1455,11 @@ void ro_gui_window_redraw(wimp_draw *redraw) if (knockout) { knockout_plot_start(&plot); plot.clip(clip_x0, clip_y0, clip_x1, clip_y1); - plot.clg(0x00ffffff); } + if (c->type != CONTENT_HTML) + plot.clg(0x00ffffff); + content_redraw(c, 0, 0, c->width * scale, c->height * scale, clip_x0, clip_y0, clip_x1, clip_y1, |