[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.2.0esr-14.0-1] Bug 43092: Disable wayland by default in Base Browser.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Aug 28 09:33:51 UTC 2024



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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240828/1e98ee3a/attachment.htm>


More information about the tor-commits mailing list