blob: 10e68218b0e09c24ae2a857c1194732461606735 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ui/views/window/dialog_delegate.cc.orig 2020-07-07 21:58:19 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -62,7 +62,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;
#else
|