Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor 
Project / Applications / Tor Browser


Commits:
3a076593 by Henry Wilkes at 2024-08-28T09:51:38+01:00
Bug 43092: Disable wayland by default in Base Browser.

- - - - -


1 changed file:

- toolkit/xre/nsAppRunner.cpp


Changes:

=====================================
toolkit/xre/nsAppRunner.cpp
=====================================
@@ -460,13 +460,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;
 }



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3a07659339921ec3911333abd6bd545bddf6ced0

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3a07659339921ec3911333abd6bd545bddf6ced0
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to