mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
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:
commit
e5eba26eac
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user