mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
11 lines
517 B
C++
11 lines
517 B
C++
--- 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;
|