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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-23 07:10:48 +01:00
parent 3482b91624
commit 8f8d79cb91
1 changed files with 7 additions and 0 deletions

View File

@ -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;