diff options
Diffstat (limited to 'devel/electron37/files/patch-ui_views_style_platform__style.h')
-rw-r--r-- | devel/electron37/files/patch-ui_views_style_platform__style.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_views_style_platform__style.h b/devel/electron37/files/patch-ui_views_style_platform__style.h new file mode 100644 index 000000000000..5a84651c4cfb --- /dev/null +++ b/devel/electron37/files/patch-ui_views_style_platform__style.h @@ -0,0 +1,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 = |