blob: 3026adde9165278e9ad8d880114eff7a0d1a9138 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ui/views/window/dialog_delegate.cc.orig 2021-09-14 01:52:23 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -78,7 +78,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;
|