aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_events.c')
-rw-r--r--src/lib/evas/canvas/evas_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index b82120095..a30ebc814 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -1598,7 +1598,7 @@ _canvas_event_feed_mouse_move(Eo *eo_e, void *_pd, va_list *list)
obj->mouse_grabbed) &&
(!evas_event_passes_through(eo_obj, obj)) &&
(!evas_event_freezes_through(eo_obj, obj)) &&
- (!evas_object_is_source_invisible(eo_obj, obj)) &&
+ (!evas_object_is_source_invisible(eo_obj, obj) || obj->mouse_grabbed) &&
(!obj->clip.clipees))
{
ev.cur.canvas.x = e->pointer.x;
@@ -1759,7 +1759,7 @@ _canvas_event_feed_mouse_move(Eo *eo_e, void *_pd, va_list *list)
eina_list_data_find(ins, eo_obj) &&
(!evas_event_passes_through(eo_obj, obj)) &&
(!evas_event_freezes_through(eo_obj, obj)) &&
- (!evas_object_is_source_invisible(eo_obj, obj)) &&
+ (!evas_object_is_source_invisible(eo_obj, obj) || obj->mouse_grabbed) &&
(!obj->clip.clipees) &&
((!obj->precise_is_inside) || evas_object_is_inside(eo_obj, obj, x, y))
)