diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 17:33:57 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 17:04:20 -0500 |
commit | 4fb807dd20aecbb29f8616b41451068a0b6d1c65 (patch) | |
tree | f9536950ce3598a79252fe666f3b532147bee18b /src/lib/efl_wl/efl_wl.c | |
parent | 9ccf88e326858363a14a6e38e68ace635d07e82c (diff) |
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 '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 1 |
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 | |||
5063 | if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; | 5063 | if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; |
5064 | } | 5064 | } |
5065 | s->event_propagate = 0; | 5065 | s->event_propagate = 0; |
5066 | if (!s->ptr.in) return; | ||
5066 | s->ptr.in = 0; | 5067 | s->ptr.in = 0; |
5067 | ecore_evas_cursor_device_unset(ecore_evas_ecore_evas_get(e), ev->dev); | 5068 | ecore_evas_cursor_device_unset(ecore_evas_ecore_evas_get(e), ev->dev); |
5068 | if (s->ptr.efl.obj) | 5069 | if (s->ptr.efl.obj) |