diff options
Diffstat (limited to 'devel/electron37/files/patch-electron_shell_browser_native__window__views.h')
-rw-r--r-- | devel/electron37/files/patch-electron_shell_browser_native__window__views.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_shell_browser_native__window__views.h b/devel/electron37/files/patch-electron_shell_browser_native__window__views.h new file mode 100644 index 000000000000..3cacc61bd239 --- /dev/null +++ b/devel/electron37/files/patch-electron_shell_browser_native__window__views.h @@ -0,0 +1,29 @@ +--- electron/shell/browser/native_window_views.h.orig 2025-07-02 10:12:01 UTC ++++ electron/shell/browser/native_window_views.h +@@ -26,7 +26,7 @@ namespace electron { + + namespace electron { + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + class GlobalMenuBarX11; + #endif + +@@ -164,7 +164,7 @@ class NativeWindowViews : public NativeWindow, + LPARAM l_param, + LRESULT* result); + void SetIcon(HICON small_icon, HICON app_icon); +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + void SetIcon(const gfx::ImageSkia& icon); + #endif + +@@ -249,7 +249,7 @@ class NativeWindowViews : public NativeWindow, + // events from resizing the window. + extensions::SizeConstraints old_size_constraints_; + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + std::unique_ptr<GlobalMenuBarX11> global_menu_bar_; + #endif + |