[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Title: GitLab

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:

Changes:

  • toolkit/xre/nsAppRunner.cpp
    ... ... @@ -460,13 +460,14 @@ bool IsWaylandEnabled() {
    460 460
             return true;
    
    461 461
           }
    
    462 462
         }
    
    463
    +    // Keep wayland disabled in Base Browser. See tor-browser#43092.
    
    464
    +    return false;
    
    463 465
         // Enable by default when we're running on a recent enough GTK version. We'd
    
    464 466
         // like to check further details like compositor version and so on ideally
    
    465 467
         // to make sure we don't enable it on old Mutter or what not, but we can't,
    
    466 468
         // so let's assume that if the user is running on a Wayland session by
    
    467 469
         // default we're ok, since either the distro has enabled Wayland by default,
    
    468 470
         // or the user has gone out of their way to use Wayland.
    
    469
    -    return !gtk_check_version(3, 24, 30);
    
    470 471
       }();
    
    471 472
       return isWaylandEnabled;
    
    472 473
     }
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits