aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-ui_views_window_default__frame__view.cc
blob: 29c876b48725e441e78561ca36eb62342256a327 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/default_frame_view.cc.orig	2025-08-26 20:49:50 UTC
+++ ui/views/window/default_frame_view.cc
@@ -285,7 +285,7 @@ int DefaultFrameView::CaptionButtonY() 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;