Merge branch 'no_random_screen_coords' into 'main'

gtkatspicomponent: Don't return unitialized stack data as screen positions of widgets

See merge request GNOME/gtk!6097
This commit is contained in:
Matthias Clasen 2023-06-15 10:02:19 +00:00
commit e5eba26eac

View File

@ -87,6 +87,8 @@ translate_coordinates_from_widget (GtkWidget *widget,
{
case ATSPI_COORD_TYPE_SCREEN:
g_warning ("Screen coordinates not supported, reported positions will be wrong");
*xo = 0;
*yo = 0;
return;
case ATSPI_COORD_TYPE_WINDOW: