From 87a4dc07fd1a45968ebd4f695ef5293a31800f40 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 11 Dec 2007 02:42:11 +0000 Subject: Clear background when redrawing for all except HTML. svn path=/trunk/netsurf/; revision=3662 --- riscos/window.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'riscos') 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, -- cgit v1.2.3