Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
ec9235a9
Verified
Commit
ec9235a9
authored
11 months ago
by
henry
Committed by
Pier Angelo Vendrame
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 43092: Disable wayland by default in Base Browser.
parent
c1aee63c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#198709
passed
11 months ago
Stage: setup
Stage: lint
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolkit/xre/nsAppRunner.cpp
+2
-1
2 additions, 1 deletion
toolkit/xre/nsAppRunner.cpp
with
2 additions
and
1 deletion
toolkit/xre/nsAppRunner.cpp
+
2
−
1
View file @
ec9235a9
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Pier Angelo Vendrame
@pierov
mentioned in merge request
!1144 (merged)
·
11 months ago
mentioned in merge request
!1144 (merged)
mentioned in merge request !1144
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment