aboutsummaryrefslogtreecommitdiff
path: root/devel/electron39/files/patch-ui_views_style_platform__style.h
blob: 5a84651c4cfb73d5f9b74d74ad9e4eebb2626b95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/style/platform_style.h.orig	2025-04-22 20:15:27 UTC
+++ ui/views/style/platform_style.h
@@ -84,7 +84,7 @@ class VIEWS_EXPORT PlatformStyle {
   // Default setting at bubble creation time for whether arrow will be adjusted
   // for bubbles going off-screen to bring more bubble area into view. Linux
   // clips bubble windows that extend outside their parent window bounds.
-  static constexpr bool kAdjustBubbleIfOffscreen = !BUILDFLAG(IS_LINUX);
+  static constexpr bool kAdjustBubbleIfOffscreen = (!BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD));
 
   // Default focus behavior on the platform.
   static constexpr View::FocusBehavior kDefaultFocusBehavior =