summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:39:25 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:39:25 +0000
commit67f2470d5a13109af213714efa99e42a4473cfd2 (patch)
tree01b8b9c870d2abf357a164222e56da9902f5bbb5 /beos
parent879383e21ef3400eb2433579265ffd9db6faf801 (diff)
downloadnetsurf-67f2470d5a13109af213714efa99e42a4473cfd2.tar.gz
netsurf-67f2470d5a13109af213714efa99e42a4473cfd2.tar.bz2
Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_scaffolding.cpp1
-rw-r--r--beos/beos_thumbnail.cpp1
-rw-r--r--beos/beos_window.cpp2
3 files changed, 3 insertions, 1 deletions
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);