aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-ui_gfx_switches.cc
blob: 280db26b08e7bb847e2c8c95b4eeb1d4a64c5e76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gfx/switches.cc.orig	2023-02-15 13:08:45 UTC
+++ ui/gfx/switches.cc
@@ -35,7 +35,7 @@ const char kForcePrefersReducedMotion[] = "force-prefe
 // Run in headless mode, i.e., without a UI or display server dependencies.
 const char kHeadless[] = "headless";
 
-#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";