freebsd-ports/www/iridium/files/patch-ui_display_screen.cc
2022-12-02 12:30:41 +01:00

11 lines
485 B
C++

--- ui/display/screen.cc.orig 2022-12-01 10:35:46 UTC
+++ ui/display/screen.cc
@@ -85,7 +85,7 @@ void Screen::SetDisplayForNewWindows(int64_t display_i
display_id_for_new_windows_ = display_id;
}
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
Screen::ScreenSaverSuspender::~ScreenSaverSuspender() = default;
std::unique_ptr<Screen::ScreenSaverSuspender> Screen::SuspendScreenSaver() {