summaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-ui_gfx_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-ui_gfx_switches.cc')
-rw-r--r--devel/electron37/files/patch-ui_gfx_switches.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_gfx_switches.cc b/devel/electron37/files/patch-ui_gfx_switches.cc
new file mode 100644
index 000000000000..cfc1c060ad49
--- /dev/null
+++ b/devel/electron37/files/patch-ui_gfx_switches.cc
@@ -0,0 +1,11 @@
+--- ui/gfx/switches.cc.orig 2025-06-30 07:04:30 UTC
++++ ui/gfx/switches.cc
+@@ -36,7 +36,7 @@ const char kScreenInfo[] = "screen-info";
+ // See //components/headless/screen_info/README.md for more details.
+ const char kScreenInfo[] = "screen-info";
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Which X11 display to connect to. Emulates the GTK+ "--display=" command line
+ // argument. In use only with Ozone/X11.
+ const char kX11Display[] = "display";