diff options
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/content.c b/content/content.c index a74892eb9..4fd6c9b71 100644 --- a/content/content.c +++ b/content/content.c @@ -154,7 +154,7 @@ struct handler_entry { bool (*redraw)(struct content *c, int x, int y, int width, int height, int clip_x0, int clip_y0, int clip_x1, int clip_y1, - float scale); + float scale, unsigned long background_colour); void (*open)(struct content *c, struct browser_window *bw, struct content *page, struct box *box, struct object_params *params); @@ -697,12 +697,13 @@ void content_quit(void) bool content_redraw(struct content *c, int x, int y, int width, int height, int clip_x0, int clip_y0, int clip_x1, int clip_y1, - float scale) + float scale, unsigned long background_colour) { assert(c != 0); if (handler_map[c->type].redraw) return handler_map[c->type].redraw(c, x, y, width, height, - clip_x0, clip_y0, clip_x1, clip_y1, scale); + clip_x0, clip_y0, clip_x1, clip_y1, scale, + background_colour); return true; } |