aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc')
-rw-r--r--devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc b/devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc
new file mode 100644
index 000000000000..c7ad82e482bc
--- /dev/null
+++ b/devel/electron29/files/patch-chrome_browser_ui_views_frame_browser__frame__view__linux.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/ui/views/frame/browser_frame_view_linux.cc.orig 2024-02-21 00:20:37 UTC
++++ chrome/browser/ui/views/frame/browser_frame_view_linux.cc
+@@ -77,7 +77,7 @@ void BrowserFrameViewLinux::PaintRestoredFrameBorder(
+
+ void BrowserFrameViewLinux::PaintRestoredFrameBorder(
+ gfx::Canvas* canvas) const {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const bool tiled = frame()->tiled();
+ #else
+ const bool tiled = false;
+@@ -103,7 +103,7 @@ float BrowserFrameViewLinux::GetRestoredCornerRadiusDi
+ }
+
+ float BrowserFrameViewLinux::GetRestoredCornerRadiusDip() const {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const bool tiled = frame()->tiled();
+ #else
+ const bool tiled = false;