aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc')
-rw-r--r--devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc b/devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc
new file mode 100644
index 000000000000..90a094f7cc47
--- /dev/null
+++ b/devel/electron29/files/patch-remoting_host_desktop__and__cursor__conditional__composer.cc
@@ -0,0 +1,20 @@
+--- remoting/host/desktop_and_cursor_conditional_composer.cc.orig 2023-03-30 00:33:55 UTC
++++ remoting/host/desktop_and_cursor_conditional_composer.cc
+@@ -7,7 +7,7 @@
+ #include "base/functional/bind.h"
+ #include "build/build_config.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/host/linux/wayland_utils.h"
+ #endif
+
+@@ -96,7 +96,7 @@ bool DesktopAndCursorConditionalComposer::IsOccluded(
+ }
+
+ bool DesktopAndCursorConditionalComposer::SupportsFrameCallbacks() {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return IsRunningWayland();
+ #else
+ return false;