evas: Give a parent to duplicated event objects
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 28 Sep 2017 07:45:45 +0000 (16:45 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 28 Sep 2017 07:45:45 +0000 (16:45 +0900)
commitf7a7a29cc04102952d08085e71ef151c0d521af5
treee3f02815e33a82fad8067d90b7cda8bd32521edf
parentd3436af616319f1fdbbd4a0aa71a7835a14699ac
evas: Give a parent to duplicated event objects

This comes back to an earlier situation where the fake event objects
created by efl_input_dup() had a parent (it should be the evas or maybe
the window). But that led to issues as efl_unref() would print error
messages. Using efl_allow_parent_unref_set() we hide the error message,
because in this situation we want the caller to use efl_unref() and not
efl_del() (eg. think of bindings...).

See d3436af616319f1fdbbd4a0aa71a7835a14699ac
See 6bed255fc4bbe1b30c960339e8dda2fc6e7925cd
See 96d94e0076773d6b29107035dc61f5df01a3347f <-- main commit
src/lib/evas/canvas/efl_input_focus.c
src/lib/evas/canvas/efl_input_hold.c
src/lib/evas/canvas/efl_input_key.c
src/lib/evas/canvas/efl_input_pointer.c