From fe7921a387c5a71c8ecba7bb605679b7dab4b86f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 13 Feb 2011 22:25:11 +0000 Subject: Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670 --- desktop/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/tree.c') diff --git a/desktop/tree.c b/desktop/tree.c index ddffef698..131106b65 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -1623,7 +1623,7 @@ static void tree_draw_node_element(struct tree *tree, plot.clip(c.x0, c.y0, c.x1, c.y1); content_redraw(icon , x, y + icon_inset, TREE_ICON_SIZE, TREE_ICON_SIZE, - c.x0, c.y0, c.x1, c.y1, 1, 0); + &c, 1, 0); /* Restore previous clipping area */ plot.clip(clip.x0, clip.y0, clip.x1, clip.y1); -- cgit v1.2.3