diff --git a/patches/force-default-pointer.patch b/patches/force-default-pointer.patch new file mode 100644 index 0000000..fe24a2e --- /dev/null +++ b/patches/force-default-pointer.patch @@ -0,0 +1,31 @@ +diff --git a/layout/style/nsMediaFeatures.cpp b/layout/style/nsMediaFeatures.cpp +index cc86d1abf6..bfc4d0f1d8 100644 +--- a/layout/style/nsMediaFeatures.cpp ++++ b/layout/style/nsMediaFeatures.cpp +@@ -372,24 +372,10 @@ static PointerCapabilities GetPointerCapabilities(const Document* aDocument, + + // The default value for Desktop is mouse-type pointer, and for Android + // a coarse pointer. +- const PointerCapabilities kDefaultCapabilities = + #ifdef ANDROID +- PointerCapabilities::Coarse; +-#else +- PointerCapabilities::Fine | PointerCapabilities::Hover; ++ return PointerCapabilities::Coarse; + #endif +- if (aDocument->ShouldResistFingerprinting( +- RFPTarget::CSSPointerCapabilities)) { +- return kDefaultCapabilities; +- } +- +- int32_t intValue; +- nsresult rv = LookAndFeel::GetInt(aID, &intValue); +- if (NS_FAILED(rv)) { +- return kDefaultCapabilities; +- } +- +- return static_cast(intValue); ++ return PointerCapabilities::Fine | PointerCapabilities::Hover; + } + + PointerCapabilities Gecko_MediaFeatures_PrimaryPointerCapabilities( diff --git a/upstream.sh b/upstream.sh index 87ab2fa..685e602 100644 --- a/upstream.sh +++ b/upstream.sh @@ -1,2 +1,2 @@ version=130.0.1 -release=beta.10 +release=beta.11