blob: 10acd9ac8bdddcd49bf8c5375e32f4b845fe5e77 (
plain) (
tree)
|
|
--- ui/ozone/platform/wayland/host/wayland_window.h.orig 2024-05-21 18:07:39 UTC
+++ ui/ozone/platform/wayland/host/wayland_window.h
@@ -40,7 +40,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
@@ -261,7 +261,7 @@ class WaylandWindow : public PlatformWindow,
bool is_snapped_primary = false;
bool is_snapped_secondary = false;
bool is_floated = false;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
WindowTiledEdges tiled_edges;
#endif
@@ -548,7 +548,7 @@ class WaylandWindow : public PlatformWindow,
void UpdateCursorShape(scoped_refptr<BitmapCursor> cursor);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor,
scoped_refptr<BitmapCursor> bitmap_cursor);
#endif
@@ -618,7 +618,7 @@ class WaylandWindow : public PlatformWindow,
wl::Object<zaura_surface> aura_surface_;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// The current asynchronously loaded cursor (Linux specific).
scoped_refptr<WaylandAsyncCursor> async_cursor_;
#else
|