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 --- cocoa/BrowserView.m | 1 + cocoa/HistoryView.m | 1 + cocoa/Tree.m | 1 + cocoa/thumbnail.m | 1 + 4 files changed, 4 insertions(+) (limited to 'cocoa') diff --git a/cocoa/BrowserView.m b/cocoa/BrowserView.m index d1f5ae9f5..b1fdbead4 100644 --- a/cocoa/BrowserView.m +++ b/cocoa/BrowserView.m @@ -148,6 +148,7 @@ static inline NSRect cocoa_get_caret_rect( BrowserView *view ) struct redraw_context ctx = { .interactive = true, + .background_images = true, .plot = &cocoa_plotters }; diff --git a/cocoa/HistoryView.m b/cocoa/HistoryView.m index a68418416..779af5a5f 100644 --- a/cocoa/HistoryView.m +++ b/cocoa/HistoryView.m @@ -59,6 +59,7 @@ struct redraw_context ctx = { .interactive = true, + .background_images = true, .plot = &cocoa_plotters }; diff --git a/cocoa/Tree.m b/cocoa/Tree.m index da03e75dc..582187f4a 100644 --- a/cocoa/Tree.m +++ b/cocoa/Tree.m @@ -127,6 +127,7 @@ static void tree_get_window_dimensions( int *width, int *height, void *data ) { struct redraw_context ctx = { .interactive = true, + .background_images = true, .plot = &cocoa_plotters }; diff --git a/cocoa/thumbnail.m b/cocoa/thumbnail.m index 3c1b8cb9e..fd287a523 100644 --- a/cocoa/thumbnail.m +++ b/cocoa/thumbnail.m @@ -34,6 +34,7 @@ bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap, struct redraw_context ctx = { .interactive = false, + .background_images = true, .plot = &cocoa_plotters }; -- cgit v1.2.3