summaryrefslogtreecommitdiff
path: root/cocoa
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 /cocoa
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 'cocoa')
-rw-r--r--cocoa/BrowserView.m1
-rw-r--r--cocoa/HistoryView.m1
-rw-r--r--cocoa/Tree.m1
-rw-r--r--cocoa/thumbnail.m1
4 files changed, 4 insertions, 0 deletions
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
};