Pier Angelo Vendrame pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
- 
712375db
by Henry Wilkes at 2024-08-28T11:35:47+02:00
 
1 changed file:
Changes:
| ... | ... | @@ -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 |  }
 |