freebsd-ports/devel/electron26/files/patch-ui_ozone_common_features.cc

12 lines
435 B
C++
Raw Normal View History

--- ui/ozone/common/features.cc.orig 2023-05-25 00:42:54 UTC
+++ ui/ozone/common/features.cc
@@ -30,7 +30,7 @@ BASE_FEATURE(kWaylandSurfaceSubmissionInPixelCoordinat
// enabled.
BASE_FEATURE(kWaylandFractionalScaleV1,
"WaylandFractionalScaleV1",
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT