aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-ui_views_widget_root__view.cc
blob: c7e25ac5bc5fd9802dc13c3ca7dde92100c1df63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/widget/root_view.cc.orig	2024-02-21 00:21:16 UTC
+++ ui/views/widget/root_view.cc
@@ -127,7 +127,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/1024898): Use live regions (do not use alerts).
     // May require setting kLiveStatus, kContainerLiveStatus to "polite".
     node_data->role = ax::mojom::Role::kAlert;