discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4fb807dd20aecbb29f8616b41451068a0b6d1c65

commit 4fb807dd20aecbb29f8616b41451068a0b6d1c65
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jan 17 17:33:57 2018 -0500

    efl-wl: only perform mouse-out operations for a seat if the mouse was "in"
    
    this could lead to cases where the original application's cursor was 
permanently
    lost
    
    @fix
    
     #TheDisappointer
---
 src/lib/efl_wl/efl_wl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index d990bc90b5..3234921c26 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -5063,6 +5063,7 @@ comp_mouse_out(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_in
         if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
      }
    s->event_propagate = 0;
+   if (!s->ptr.in) return;
    s->ptr.in = 0;
    ecore_evas_cursor_device_unset(ecore_evas_ecore_evas_get(e), ev->dev);
    if (s->ptr.efl.obj)

-- 


Reply via email to