Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.

SVN revision: 83501
This commit is contained in:
Jaehwan Kim 2013-01-31 05:52:59 +00:00
parent 089bfed33f
commit 2c3b1b4143
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-01-31 Jaehwan Kim
* Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.
2013-01-31 Jihoon Kim (jihoon)
* edje entry : Remove ecore_imf_context_cursor_position_set in functions related to selection.

2
NEWS
View File

@ -134,4 +134,4 @@ Fixes:
* Fix evas gif loader to return the correct frame duration
* Prevent a crash even if an invalid object is swallowed into an edje object.
* Fix cache miss when active edje hash is empty.
* Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.

View File

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