--- ui/ozone/platform/wayland/host/wayland_window.h.orig 2025-01-27 17:37:37 UTC +++ ui/ozone/platform/wayland/host/wayland_window.h @@ -41,7 +41,7 @@ #include "ui/platform_window/platform_window_init_properties.h" #include "ui/platform_window/wm/wm_drag_handler.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/ozone/platform/wayland/host/wayland_async_cursor.h" #endif @@ -276,7 +276,7 @@ class WaylandWindow : public PlatformWindow, bool is_floated = false; bool is_pip = false; bool is_suspended = false; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) WindowTiledEdges tiled_edges; #endif @@ -572,7 +572,7 @@ class WaylandWindow : public PlatformWindow, void UpdateCursorShape(scoped_refptr cursor); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void OnCursorLoaded(scoped_refptr cursor, scoped_refptr bitmap_cursor); #endif @@ -644,7 +644,7 @@ class WaylandWindow : public PlatformWindow, wl::Object aura_surface_; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The current asynchronously loaded cursor (Linux specific). scoped_refptr async_cursor_; #else