Merge branch 'zbrown/tooltips' into 'main'

tooltip: don't cross native boundaries

Closes #1234, #5998, gnome-calendar#1038, and nautilus#3063

See merge request GNOME/gtk!6346
This commit is contained in:
Matthias Clasen 2023-08-28 03:25:44 +00:00
commit c5d89d00f1

View File

@ -560,6 +560,9 @@ gtk_tooltip_run_requery (GtkWidget **widget,
{
GtkWidget *parent = gtk_widget_get_parent (*widget);
if (GTK_IS_NATIVE (*widget))
break;
if (parent)
{
graphene_point_t r = GRAPHENE_POINT_INIT (*x, *y);