blob: afd810a006c82056eb17c5cbcf249ce22e3ea2d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ui/views/window/dialog_delegate.cc.orig 2021-04-14 18:41:39 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;
|