From aa4566bd86d9c5b2202ba838d0309cf5f6d4ff17 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 17 Jan 2018 17:33:57 -0500 Subject: [PATCH] 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 d990bc9..3234921 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) -- 2.7.4