summaryrefslogtreecommitdiff
path: root/windows
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 /windows
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 'windows')
-rw-r--r--windows/drawable.c1
-rw-r--r--windows/localhistory.c2
-rw-r--r--windows/thumbnail.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/windows/drawable.c b/windows/drawable.c
index cdb9cc2b4..883931e32 100644
--- a/windows/drawable.c
+++ b/windows/drawable.c
@@ -307,6 +307,7 @@ nsws_drawable_paint(struct gui_window *gw, HWND hwnd)
PAINTSTRUCT ps;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &win_plotters
};
diff --git a/windows/localhistory.c b/windows/localhistory.c
index e7b79cb8e..d1d533f4e 100644
--- a/windows/localhistory.c
+++ b/windows/localhistory.c
@@ -81,6 +81,7 @@ static void nsws_localhistory_up(struct nsws_localhistory *l, struct gui_window
HDC tmp_hdc;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &win_plotters
};
@@ -274,6 +275,7 @@ nsws_localhistory_event_callback(HWND hwnd, UINT msg,
HDC hdc, tmp_hdc;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &win_plotters
};
diff --git a/windows/thumbnail.c b/windows/thumbnail.c
index 565ee3de1..e2d85fc64 100644
--- a/windows/thumbnail.c
+++ b/windows/thumbnail.c
@@ -40,6 +40,7 @@ thumbnail_create(hlcache_handle *content,
HDC hdc, bufferdc, minidc;
struct redraw_context ctx = {
.interactive = false,
+ .background_images = true,
.plot = &win_plotters
};