Add code to unset the pointer cursor image when the mouse leaves the

input area.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-04-11 12:18:32 +01:00
parent 98bc3ae1b5
commit 89782f0f4c
1 changed files with 5 additions and 2 deletions

View File

@ -786,8 +786,11 @@ _e_wl_shell_shell_surface_cb_mouse_out(void *data, Evas_Object *obj EINA_UNUSED,
// if ((ptr = ews->input->wl.seat.pointer))
{
/* if we have a pointer grab and this is the currently focused surface */
if ((ptr->grab) && (ptr->focus == ptr->current))
return;
/* if ((ptr->grab) && (ptr->focus == ptr->current)) */
/* return; */
/* unset the pointer image */
ecore_x_window_cursor_set(ecore_evas_window_get(ews->ee), 0);
/* set pointer focus */
ptr->current = NULL;