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
This commit is contained in:
Mike Blumenkrantz 2018-01-17 17:33:57 -05:00
parent 9ccf88e326
commit 4fb807dd20
1 changed files with 1 additions and 0 deletions

View File

@ -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)