aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-ui_views_window_dialog__delegate.cc
blob: cc261d1c1e6ae868a89b3d83ceb9ffe45a7b03a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/dialog_delegate.cc.orig	2025-03-24 20:50:14 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -105,7 +105,7 @@ bool DialogDelegate::CanSupportCustomFrame(gfx::Native
 
 // static
 bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA)
   // The new style doesn't support unparented dialogs on Linux desktop.
   return parent != nullptr;
 #else