aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:33:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:04:20 -0500
commit4fb807dd20aecbb29f8616b41451068a0b6d1c65 (patch)
treef9536950ce3598a79252fe666f3b532147bee18b /src/lib/efl_wl
parentefl-wl: ensure parent surface is mapped before attempting to revert activation (diff)
downloadefl-4fb807dd20aecbb29f8616b41451068a0b6d1c65.tar.gz
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
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c1
1 files changed, 1 insertions, 0 deletions
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)