mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
650 B
C++
20 lines
650 B
C++
--- ui/views/widget/widget.cc.orig 2025-03-24 20:50:14 UTC
|
|
+++ ui/views/widget/widget.cc
|
|
@@ -63,7 +63,7 @@
|
|
#include "ui/views/window/custom_frame_view.h"
|
|
#include "ui/views/window/dialog_delegate.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "ui/linux/linux_ui.h"
|
|
#endif
|
|
|
|
@@ -2444,7 +2444,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const
|
|
return parent_->GetNativeTheme();
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
if (auto* linux_ui_theme =
|
|
ui::LinuxUiTheme::GetForWindow(GetNativeWindow())) {
|
|
return linux_ui_theme->GetNativeTheme();
|