From 8f8d79cb9189085454a8b455177aa1b797fb4a1c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 23 Jul 2013 07:10:48 +0100 Subject: [PATCH] Add a pointer structure to the window struct. NB: This is used in a case where someone calls ecore_evas_object_cursor_set on a specific window. The generic pointer_enter code for a window initially sets the cursor to left_arrow by default. When the above function is used, and a pointer enter event occurs, the cursor assigned from the above function was not being respected. Signed-off-by: Chris Michael --- src/lib/ecore_wayland/Ecore_Wayland.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index 7802f3c2a4..241c23866c 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h @@ -211,6 +211,13 @@ struct _Ecore_Wl_Window struct wl_region *input, *opaque; } region; + struct + { + struct wl_surface *surface; + int hot_x, hot_y; + Eina_Bool set : 1; + } pointer; + int id; int x, y; int edges;