From 1e8fea4287da9d04c3879916ad049c5d834b49ed Mon Sep 17 00:00:00 2001
From: partisan <none@noone.no>
Date: Thu, 30 Jan 2025 19:44:49 +0100
Subject: [PATCH] fixed failing windows builds

---
 pre-compile-patches/windows-build.patch | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/pre-compile-patches/windows-build.patch b/pre-compile-patches/windows-build.patch
index 4fd6b4f..8e15c5a 100644
--- a/pre-compile-patches/windows-build.patch
+++ b/pre-compile-patches/windows-build.patch
@@ -397,6 +397,13 @@ o: /modules/libpref/init/StaticPrefList.yaml
 +  value: true
 +  mirror: always
 +
++ # Without this my windows build crashes
++- name: apz.mousemove_hittest_optimization.enabled
++  type: bool
++  value: false
++  mirror: always
++
++
 +- name: apz.allow_immediate_handoff
 +  type: RelaxedAtomicBool
 +  value: false
@@ -683,6 +690,13 @@ o: /modules/libpref/init/StaticPrefList.yaml
 +  value: @IS_NOT_ANDROID@
 +  mirror: always
 +
++ # Without this my windows build crashes
++- name: apz.keyboard_focus_optimization
++  type: bool
++  value: false
++  mirror: always
++
++
 +- name: apz.max_tap_time
 +  type: RelaxedAtomicInt32
 +  value: 300
@@ -2329,7 +2343,7 @@ o: /modules/libpref/init/StaticPrefList.yaml
 +  value: true
 +  mirror: always
 +
-+# Without this my windows build crashes
++ # Without this my windows build crashes
 +- name: "dom.block_multiple_popups"
 +  type: bool
 +  value: true
@@ -15763,6 +15777,12 @@ o: /modules/libpref/init/StaticPrefList.yaml
 +  value: true
 +  mirror: always
 +
++  # Without this my windows build crashes
++- name: security.mls.enabled
++  type: bool
++  value: false
++  mirror: always
++
 +# Whether strict file origin policy is in effect. "False" is traditional.
 +- name: security.fileuri.strict_origin_policy
 +  type: RelaxedAtomicBool