aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ui_views_window_dialog__delegate.cc
blob: b910db1f19179bd1dddef0983f52b8ca182db65a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/dialog_delegate.cc.orig	2021-04-14 01:09:40 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -72,7 +72,7 @@ Widget* DialogDelegate::CreateDialogWidget(
 
 // static
 bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
-#if (defined(OS_LINUX) || defined(OS_CHROMEOS)) && \
+#if (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) && \
     BUILDFLAG(ENABLE_DESKTOP_AURA)
   // The new style doesn't support unparented dialogs on Linux desktop.
   return parent != nullptr;