devilhorns pushed a commit to branch master.

commit 89782f0f4cd3c62b05840f0560980822022cef1f
Author: Chris Michael <[email protected]>
Date:   Thu Apr 11 12:18:32 2013 +0100

    Add code to unset the pointer cursor image when the mouse leaves the
    input area.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 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;

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to