SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/chromium/patches/patch-ui_display_screen_h
Normal file
21
www/chromium/patches/patch-ui_display_screen_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: ui/display/screen.h
|
||||
--- ui/display/screen.h.orig
|
||||
+++ ui/display/screen.h
|
||||
@@ -131,7 +131,7 @@ class DISPLAY_EXPORT Screen {
|
||||
// (both of which may or may not be `nearest_id`).
|
||||
display::ScreenInfos GetScreenInfosNearestDisplay(int64_t nearest_id) const;
|
||||
|
||||
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
// Object which suspends the platform-specific screensaver for the duration of
|
||||
// its existence.
|
||||
class ScreenSaverSuspender {
|
||||
@@ -232,7 +232,7 @@ class DISPLAY_EXPORT Screen {
|
||||
int64_t display_id_for_new_windows_;
|
||||
int64_t scoped_display_id_for_new_windows_ = display::kInvalidDisplayId;
|
||||
|
||||
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
uint32_t screen_saver_suspension_count_ = 0;
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue