From 89782f0f4cd3c62b05840f0560980822022cef1f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 11 Apr 2013 12:18:32 +0100 Subject: [PATCH] Add code to unset the pointer cursor image when the mouse leaves the input area. Signed-off-by: Chris Michael --- src/modules/wl_desktop_shell/e_mod_main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index a71a5fa..a186a66 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -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; -- 2.7.4