From b4a013615570dcc73885b8d81cc5aa1a7c51158e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 3 Feb 2015 17:35:37 -0600 Subject: [PATCH] tweak to help with uncoalesced renders --- libs/canvas/canvas.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index 8436036983..941ea8465d 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -795,6 +795,7 @@ GtkCanvas::on_expose_event (GdkEventExpose* ev) gdk_region_get_rectangles (ev->region, &rects, &nrects); for (gint n = 0; n < nrects; ++n) { + draw_context->set_identity_matrix(); //reset the cairo matrix, just in case someone left it transformed after drawing ( cough ) render (Rect (rects[n].x, rects[n].y, rects[n].x + rects[n].width, rects[n].y + rects[n].height), draw_context); } g_free (rects);