diff options
Diffstat (limited to 'devel/electron28/files/patch-ui_views_window_frame__background.cc')
-rw-r--r-- | devel/electron28/files/patch-ui_views_window_frame__background.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-ui_views_window_frame__background.cc b/devel/electron28/files/patch-ui_views_window_frame__background.cc new file mode 100644 index 000000000000..9766c76c32d0 --- /dev/null +++ b/devel/electron28/files/patch-ui_views_window_frame__background.cc @@ -0,0 +1,11 @@ +--- ui/views/window/frame_background.cc.orig 2023-10-19 19:59:22 UTC ++++ ui/views/window/frame_background.cc +@@ -110,7 +110,7 @@ void FrameBackground::PaintMaximized(gfx::Canvas* canv + int width) const { + // Fill the top with the frame color first so we have a constant background + // for areas not covered by the theme image. +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ + BUILDFLAG(ENABLE_DESKTOP_AURA) + ui::NativeTheme::FrameTopAreaExtraParams frame_top_area; + frame_top_area.use_custom_frame = use_custom_frame_; |