aboutsummaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-apps_ui_views_app__window__frame__view.cc
blob: 5358e1681ba16c05bbed5cd3be3dca28dae689df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- apps/ui/views/app_window_frame_view.cc.orig	2025-04-22 20:15:27 UTC
+++ apps/ui/views/app_window_frame_view.cc
@@ -146,7 +146,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient
 gfx::Rect AppWindowFrameView::GetWindowBoundsForClientBounds(
     const gfx::Rect& client_bounds) const {
   gfx::Rect window_bounds = client_bounds;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Get the difference between the widget's client area bounds and window
   // bounds, and grow |window_bounds| by that amount.
   gfx::Insets native_frame_insets =