tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 53dc82d8357ecaad556f8ae235f68396be4e6a93
parent 9b0b961626615d8c1c7a1ceae376bd8e18bcfff8
Author: Gregory Pappas <gp3033@protonmail.com>
Date:   Wed, 19 Nov 2025 22:07:49 +0000

Bug 2001033 - Rename window transforms pref, only expose it on macOS r=mac-reviewers,bradwerth

it doesn't do anything on other platforms

Differential Revision: https://phabricator.services.mozilla.com/D273164

Diffstat:
Mmodules/libpref/init/StaticPrefList.yaml | 10+++++-----
Mwidget/cocoa/nsCocoaWindow.mm | 2+-
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -19019,11 +19019,6 @@ value: false mirror: always -- name: widget.window-transforms.disabled - type: RelaxedAtomicBool - value: false - mirror: always - # When looking for a recent window (for example, when a link is clicked # on from an external application), whether to prefer windows on the # current virtual desktop (aka workspace). For now this only applies on Windows. @@ -19058,6 +19053,11 @@ type: RelaxedAtomicBool value: false mirror: always + +- name: widget.macos.window-transforms.disabled + type: RelaxedAtomicBool + value: false + mirror: always #endif # Whether native GTK global menubar support is enabled. diff --git a/widget/cocoa/nsCocoaWindow.mm b/widget/cocoa/nsCocoaWindow.mm @@ -6816,7 +6816,7 @@ void nsCocoaWindow::SetWindowTransform(const gfx::Matrix& aTransform) { return; } - if (StaticPrefs::widget_window_transforms_disabled()) { + if (StaticPrefs::widget_macos_window_transforms_disabled()) { // CGSSetWindowTransform is a private API. In case calling it causes // problems either now or in the future, we'll want to have an easy kill // switch. So we allow disabling it with a pref.