evas - backport 78182
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 18 Oct 2012 11:45:55 +0000 (11:45 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 18 Oct 2012 11:45:55 +0000 (11:45 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/evas-1.7@78183 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/canvas/evas_events.c

index ae6476b..93b2573 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2012-10-16  ChunEon Park (Hermet)
 
        * Fix the vertical line drawing on gl backened.
+
+2012-10-18  ChunEon Park (Hermet)
+
+       * Update move event when object freeze event is off.
index 9c42750..f853f02 100644 (file)
@@ -1716,6 +1716,19 @@ evas_object_freeze_events_set(Evas_Object *obj, Eina_Bool freeze)
    if (obj->freeze_events == freeze) return;
    obj->freeze_events = freeze;
    evas_object_smart_member_cache_invalidate(obj, EINA_FALSE, EINA_TRUE);
+   if (obj->freeze_events) return;
+   if (evas_object_is_in_output_rect(obj,
+                                     obj->layer->evas->pointer.x,
+                                     obj->layer->evas->pointer.y, 1, 1) &&
+       ((!obj->precise_is_inside) ||
+        (evas_object_is_inside(obj,
+                               obj->layer->evas->pointer.x,
+                               obj->layer->evas->pointer.y))))
+     evas_event_feed_mouse_move(obj->layer->evas,
+                                obj->layer->evas->pointer.x,
+                                obj->layer->evas->pointer.y,
+                                obj->layer->evas->last_timestamp,
+                                NULL);
 }
 
 EAPI Eina_Bool