summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-ui_views_window_dialog__delegate.cc')
-rw-r--r--www/iridium/files/patch-ui_views_window_dialog__delegate.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-ui_views_window_dialog__delegate.cc b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
new file mode 100644
index 000000000000..b92881838304
--- /dev/null
+++ b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
@@ -0,0 +1,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)