From 7351848c75e8d6efee154fe77cbd90056ed993b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 17 Mar 2018 11:36:00 +0100 Subject: [PATCH] container: Fix scroll adjustment coordinates --- gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index f3cc9c83c7..fabdb983f9 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1927,7 +1927,7 @@ gtk_container_real_set_focus_child (GtkContainer *container, while (gtk_widget_get_focus_child (child)) child = gtk_widget_get_focus_child (child); - if (!gtk_widget_translate_coordinates (child, focus_child, + if (!gtk_widget_translate_coordinates (child, GTK_WIDGET (container), 0, 0, &x, &y)) return;