Input events cache: use the new mechanism to reuse eo objects.
authorTom Hacohen <tom@stosb.com>
Fri, 28 Oct 2016 12:20:56 +0000 (13:20 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 28 Oct 2016 12:20:56 +0000 (13:20 +0100)
src/lib/evas/canvas/efl_input_pointer.c

index 2214871..68c13bc 100644 (file)
@@ -34,6 +34,7 @@ _del_hook(Eo *evt)
              efl_ref(evt);
              efl_parent_set(evt, NULL);
           }
+        efl_reuse(evt);
         s_cached_event = evt;
      }
    else