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 --- windows/drawable.c | 1 + windows/localhistory.c | 2 ++ windows/thumbnail.c | 1 + 3 files changed, 4 insertions(+) (limited to 'windows') 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 }; -- cgit v1.2.3