aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc')
-rw-r--r--devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc b/devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
new file mode 100644
index 000000000000..0a4653be3923
--- /dev/null
+++ b/devel/electron29/files/patch-third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
@@ -0,0 +1,20 @@
+--- third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2024-02-21 00:20:53 UTC
++++ third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc
+@@ -150,7 +150,7 @@ bool ScrollbarThemeAura::SupportsDragSnapBack() const
+ // is true for at least GTK and QT apps).
+ // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+ // complete.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ return false;
+ #else
+ return true;
+@@ -363,7 +363,7 @@ bool ScrollbarThemeAura::ShouldCenterOnThumb(const Scr
+ const WebMouseEvent& event) {
+ // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+ // complete.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ if (event.button == WebPointerProperties::Button::kMiddle)
+ return true;
+ #endif