Give up on warning ATs into submission

Its been more than a decade since Wayland
has not supported screen coordinates. Clearly
spamming every apps stderr with warnings is
never going to make ATs stop asking for screen
coordinates.

Just give up. Go home
This commit is contained in:
Matthias Clasen 2023-06-19 16:41:20 -04:00
parent 584a807ed6
commit c2fda63b0d

View File

@ -50,7 +50,8 @@ translate_coordinates_to_widget (GtkWidget *widget,
switch (coordtype)
{
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:
@ -86,7 +87,6 @@ translate_coordinates_from_widget (GtkWidget *widget,
switch (coordtype)
{
case ATSPI_COORD_TYPE_SCREEN:
g_warning ("Screen coordinates not supported, reported positions will be wrong");
*xo = 0;
*yo = 0;
return;