aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__connection.cc
blob: 1953a86a816c36ceaccc7969963b32a87edabe93 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                                       
                                                        
                                                                          







                                                                               
--- ui/ozone/platform/wayland/host/wayland_connection.cc.orig	2024-05-21 18:07:39 UTC
+++ ui/ozone/platform/wayland/host/wayland_connection.cc
@@ -536,7 +536,7 @@ bool WaylandConnection::ShouldUseOverlayDelegation() c
   // isn't present on any non-exo Wayland compositors.
   bool should_use_overlay_delegation =
       IsWaylandOverlayDelegationEnabled() && !fractional_scale_manager_v1();
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Overlay delegation also requires a single-pixel-buffer protocol, which
   // allows creation of non-backed solid color buffers. Even though only video
   // overlays can be supported on Linux, these color buffers are still needed