$OpenBSD: patch-ui_views_window_custom_frame_view_cc,v 1.18 2021/10/29 14:49:43 robert Exp $

Index: ui/views/window/custom_frame_view.cc
--- ui/views/window/custom_frame_view.cc.orig
+++ ui/views/window/custom_frame_view.cc
@@ -261,7 +261,7 @@ int CustomFrameView::CaptionButtonY() const {
   // drawn flush with the screen edge, they still obey Fitts' Law.
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
   return FrameBorderThickness();
 #else
   return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
