ports/devel/electron32/files/patch-ui_views_widget_root__view.cc
Hiroki Tagato 63a5b151bf devel/electron32: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
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/
2024-09-23 04:58:21 +09:00

11 lines
586 B
C++

--- ui/views/widget/root_view.cc.orig 2024-08-14 20:56:06 UTC
+++ ui/views/widget/root_view.cc
@@ -129,7 +129,7 @@ class AnnounceTextView : public View {
#if BUILDFLAG(IS_CHROMEOS)
// On ChromeOS, kAlert role can invoke an unnecessary event on reparenting.
node_data->role = ax::mojom::Role::kStaticText;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// TODO(crbug.com/40658933): Use live regions (do not use alerts).
// May require setting kLiveStatus, kContainerLiveStatus to "polite".
node_data->role = ax::mojom::Role::kAlert;