09c1114e71
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/
11 lines
464 B
C++
11 lines
464 B
C++
--- electron/shell/browser/browser.cc.orig 2022-05-18 15:31:32 UTC
|
|
+++ electron/shell/browser/browser.cc
|
|
@@ -65,7 +65,7 @@ Browser* Browser::Get() {
|
|
return ElectronBrowserMainParts::Get()->browser();
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
void Browser::Focus(gin::Arguments* args) {
|
|
// Focus on the first visible window.
|
|
for (auto* const window : WindowList::GetWindows()) {
|