From 67f2470d5a13109af213714efa99e42a4473cfd2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 23 Dec 2011 22:39:25 +0000 Subject: Pass whether background images are wanted in redraw_context. svn path=/trunk/netsurf/; revision=13335 --- beos/beos_scaffolding.cpp | 1 + beos/beos_thumbnail.cpp | 1 + beos/beos_window.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'beos') diff --git a/beos/beos_scaffolding.cpp b/beos/beos_scaffolding.cpp index e7e913ca1..ba0ded909 100644 --- a/beos/beos_scaffolding.cpp +++ b/beos/beos_scaffolding.cpp @@ -1387,6 +1387,7 @@ gboolean nsbeos_history_expose_event(beosWidget *widget, struct redraw_context ctx = { .interactive = true, + .background_images = true, .plot = &nsbeos_plotters }; diff --git a/beos/beos_thumbnail.cpp b/beos/beos_thumbnail.cpp index f5baa8d6c..bd8d74bb0 100644 --- a/beos/beos_thumbnail.cpp +++ b/beos/beos_thumbnail.cpp @@ -73,6 +73,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, struct redraw_context ctx; ctx.interactive = false; + ctx.background_images = true; ctx.plot = &nsbeos_plotters; assert(content); diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp index dac1af738..9d46254b1 100644 --- a/beos/beos_window.cpp +++ b/beos/beos_window.cpp @@ -783,7 +783,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message) float scale = g->bw->scale; struct rect clip; - struct redraw_context ctx = { true, &nsbeos_plotters }; + struct redraw_context ctx = { true, true, &nsbeos_plotters }; assert(g); assert(g->bw); -- cgit v1.2.3