[tor-commits] [Git][tpo/applications/tor-browser][base-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:35:22 UTC 2024



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


Commits:
ec9235a9 by Henry Wilkes at 2024-08-28T11:35:06+02: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/ec9235a9968c7bb669d6eda9ec9ac03c6d52ef53

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ec9235a9968c7bb669d6eda9ec9ac03c6d52ef53
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/cc57e085/attachment-0001.htm>


More information about the tor-commits mailing list