forked from enlightenment/efl
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:
parent
3482b91624
commit
8f8d79cb91
|
@ -211,6 +211,13 @@ struct _Ecore_Wl_Window
|
||||||
struct wl_region *input, *opaque;
|
struct wl_region *input, *opaque;
|
||||||
} region;
|
} region;
|
||||||
|
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
struct wl_surface *surface;
|
||||||
|
int hot_x, hot_y;
|
||||||
|
Eina_Bool set : 1;
|
||||||
|
} pointer;
|
||||||
|
|
||||||
int id;
|
int id;
|
||||||
int x, y;
|
int x, y;
|
||||||
int edges;
|
int edges;
|
||||||
|
|
Loading…
Reference in New Issue