summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-apps_ui_views_app__window__frame__view.cc
blob: 14f75eb0a3ae0cfc9bbc9014b3c42005fc856ca9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- apps/ui/views/app_window_frame_view.cc.orig	2022-10-01 07:40:07 UTC
+++ apps/ui/views/app_window_frame_view.cc
@@ -137,7 +137,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient
   gfx::Rect window_bounds = client_bounds;
 // 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)
   // 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 =