commit d7da3b8bad33b0b320896c422bf37860cb0119ec
parent bb814039efd53e9a56147f4de7e0ad9a22574e52
Author: Henry Wilkes <henry@torproject.org>
Date: Wed, 28 Aug 2024 09:51:38 +0100
BB 43092: Disable wayland by default in Base Browser.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
@@ -449,13 +449,14 @@ bool IsWaylandEnabled() {
return true;
}
}
+ // Keep wayland disabled in Base Browser. See tor-browser#43092.
+ return false;
// Enable by default when we're running on a recent enough GTK version. We'd
// like to check further details like compositor version and so on ideally
// to make sure we don't enable it on old Mutter or what not, but we can't,
// so let's assume that if the user is running on a Wayland session by
// default we're ok, since either the distro has enabled Wayland by default,
// or the user has gone out of their way to use Wayland.
- return !gtk_check_version(3, 24, 30);
}();
return isWaylandEnabled;
}