summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
blob: b9288183830446eafa6f4aa02568db98b9484531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/dialog_delegate.cc.orig	2020-02-03 21:53:40 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -59,7 +59,7 @@ Widget* DialogDelegate::CreateDialogWidget(WidgetDeleg
 
 // static
 bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
-#if defined(OS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA)
   // The new style doesn't support unparented dialogs on Linux desktop.
   return parent != nullptr;
 #elif defined(OS_WIN)