commit 1ca9f9e85c0229aec4512e7f15ab7dc04ae73b00
parent 5baca4aca49ea5d2a017725bbd12f8018c82d03d
Author: Daniel <90185651+dan-singer-aus@users.noreply.github.com>
Date: Sat, 15 Nov 2025 01:41:47 +0000
Bug 1895228 - Removed apz.windows.use_direct_manipulation pref. r=win-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D271305
Diffstat:
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
@@ -877,11 +877,6 @@
value: false
mirror: always
-- name: apz.windows.use_direct_manipulation
- type: RelaxedAtomicBool
- value: true
- mirror: always
-
- name: apz.windows.check_for_pan_gesture_conversion
type: RelaxedAtomicBool
value: true
diff --git a/widget/windows/docs/windows-pointing-device/index.rst b/widget/windows/docs/windows-pointing-device/index.rst
@@ -1194,8 +1194,7 @@ Here is an explanation of the codepaths Firefox uses to handle pointer input:
handle. It will then handle the rest of the gesture itself.
DirectManipulation is used for all top-level and popup windows as long as
- it isn't disabled via the ``apz.allow_zooming``,
- ``apz.windows.use_direct_manipulation``, or
+ it isn't disabled via the ``apz.allow_zooming`` or
``apz.windows.force_disable_direct_manipulation`` prefs.
3. If the pointing device is touch, the next action depends on
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp
@@ -956,8 +956,7 @@ void nsWindow::RecreateDirectManipulationIfNeeded() {
return;
}
- if (!(StaticPrefs::apz_allow_zooming() ||
- StaticPrefs::apz_windows_use_direct_manipulation()) ||
+ if (!StaticPrefs::apz_allow_zooming() ||
StaticPrefs::apz_windows_force_disable_direct_manipulation()) {
return;
}