mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
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:
parent
584a807ed6
commit
c2fda63b0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user