openbsd-ports/www/iridium/patches/patch-ui_views_views_delegate_cc

15 lines
568 B
Plaintext

$OpenBSD: patch-ui_views_views_delegate_cc,v 1.18 2020/04/02 15:11:59 robert Exp $
Index: ui/views/views_delegate.cc
--- ui/views/views_delegate.cc.orig
+++ ui/views/views_delegate.cc
@@ -85,7 +85,7 @@ HICON ViewsDelegate::GetSmallWindowIcon() const {
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
return false;
}
-#elif defined(OS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA)
gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
return nullptr;
}