aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc')
-rw-r--r--devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc b/devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc
new file mode 100644
index 000000000000..18fd90e902a4
--- /dev/null
+++ b/devel/electron29/files/patch-apps_ui_views_app__window__frame__view.cc
@@ -0,0 +1,11 @@
+--- apps/ui/views/app_window_frame_view.cc.orig 2024-02-21 00:20:29 UTC
++++ apps/ui/views/app_window_frame_view.cc
+@@ -148,7 +148,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 =