aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_window_default__frame__view.cc
blob: 37e4d1c3a66327f13b642845061abce3249db70c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/default_frame_view.cc.orig	2025-08-07 06:57:29 UTC
+++ ui/views/window/default_frame_view.cc
@@ -285,7 +285,7 @@ int DefaultFrameView::NonClientTopBorderHeight() const
 int DefaultFrameView::CaptionButtonY() const {
   // Maximized buttons start at window top so that even if their images aren't
   // drawn flush with the screen edge, they still obey Fitts' Law.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   return FrameBorderThickness();
 #else
   return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;