compositor: Compute overlapped early and base hw cursor decision on that
diff --git a/src/compositor.h b/src/compositor.h
index d16053d..b995b13 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -96,6 +96,7 @@
int32_t hotspot_x, hotspot_y;
struct wl_list link;
uint32_t modifier_state;
+ int hw_cursor;
uint32_t num_tp;
struct wl_surface *touch_focus;
@@ -339,6 +340,8 @@
struct weston_input_device *device,
uint32_t time,
uint32_t key, uint32_t button, int32_t state);
+struct wl_list *
+weston_compositor_top(struct weston_compositor *compositor);
struct weston_surface *
weston_surface_create(struct weston_compositor *compositor,