diff options
Diffstat (limited to 'devel/electron13/files/patch-gpu_ipc_service_gpu__watchdog__thread.h')
-rw-r--r-- | devel/electron13/files/patch-gpu_ipc_service_gpu__watchdog__thread.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-gpu_ipc_service_gpu__watchdog__thread.h b/devel/electron13/files/patch-gpu_ipc_service_gpu__watchdog__thread.h new file mode 100644 index 000000000000..9cf230d310b8 --- /dev/null +++ b/devel/electron13/files/patch-gpu_ipc_service_gpu__watchdog__thread.h @@ -0,0 +1,20 @@ +--- gpu/ipc/service/gpu_watchdog_thread.h.orig 2021-07-15 19:13:40 UTC ++++ gpu/ipc/service/gpu_watchdog_thread.h +@@ -199,7 +199,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThread + bool WithinOneMinFromPowerResumed(); + bool WithinOneMinFromForegrounded(); + +-#if defined(USE_X11) ++#if defined(USE_X11) && !defined(OS_BSD) + void UpdateActiveTTY(); + #endif + // The watchdog continues when it's not on the TTY of our host X11 server. +@@ -271,7 +271,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThread + bool less_than_full_thread_time_after_capped_ = false; + #endif + +-#if defined(USE_X11) ++#if defined(USE_X11) && !defined(OS_BSD) + FILE* tty_file_ = nullptr; + int host_tty_ = -1; + int active_tty_ = -1; |