Merge branch 'for-main' into 'main'

atspi: Fix sandbox check

See merge request GNOME/gtk!7933
This commit is contained in:
Matthias Clasen 2024-11-19 12:16:11 +00:00
commit 29edc0aed3

View File

@ -769,7 +769,7 @@ on_registration_reply (GObject *gobject,
* sandbox to allow event registration signals to propagate, so we
* check if the version of the Flatpak portal is recent enough.
*/
if (gdk_should_use_portal () &&
if (gdk_running_in_sandbox () &&
!check_flatpak_portal_version (7))
{
GTK_DEBUG (A11Y, "Sandboxed does not allow event listener registration");