From 93b47c12d7550c347ad453cf11cfc3cd8917c379 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 19 Feb 2019 19:29:56 -0500 Subject: [PATCH] Fix gtk_widget_compute_transform We were collecting all the transforms from widget up to ancestor, and then trying to collect the ones from target to ancestor, but failing. --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f22581d0ab..fb376adea2 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -11283,7 +11283,7 @@ gtk_widget_compute_transform (GtkWidget *widget, graphene_matrix_t inv; graphene_matrix_init_identity (&down_transform); - + parent = target; while (parent != ancestor) { graphene_matrix_multiply (&down_transform, &parent->priv->transform, &down_transform);