aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h')
-rw-r--r--devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h b/devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h
new file mode 100644
index 000000000000..904b8b31c442
--- /dev/null
+++ b/devel/electron23/files/patch-ui_platform__window_platform__window__init__properties.h
@@ -0,0 +1,20 @@
+--- ui/platform_window/platform_window_init_properties.h.orig 2022-09-24 10:57:32 UTC
++++ ui/platform_window/platform_window_init_properties.h
+@@ -56,7 +56,7 @@ class WorkspaceExtensionDelegate;
+ class ScenicWindowDelegate;
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ class X11ExtensionDelegate;
+ #endif
+
+@@ -118,7 +118,7 @@ struct COMPONENT_EXPORT(PLATFORM_WINDOW) PlatformWindo
+
+ PlatformWindowShadowType shadow_type = PlatformWindowShadowType::kDefault;
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ bool prefer_dark_theme = false;
+ raw_ptr<gfx::ImageSkia> icon = nullptr;
+ absl::optional<SkColor> background_color;