opnsense-ports/devel/electron32/files/patch-ui_aura_screen__ozone.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
544 B
C++

--- ui/aura/screen_ozone.cc.orig 2024-08-14 20:56:04 UTC
+++ ui/aura/screen_ozone.cc
@@ -107,7 +107,7 @@ display::Display ScreenOzone::GetPrimaryDisplay() cons
return platform_screen_->GetPrimaryDisplay();
}
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
ScreenOzone::ScreenSaverSuspenderOzone::ScreenSaverSuspenderOzone(
std::unique_ptr<ui::PlatformScreen::PlatformScreenSaverSuspender> suspender)
: suspender_(std::move(suspender)) {}