aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_main.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-16 16:26:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-16 16:26:42 +0900
commite434653fc2a23b1841ebbe243f5169813939b178 (patch)
tree74a70f04bf6c498eeec293b559b581ab194644df /src/lib/evas/canvas/evas_main.c
parentevas/doc: Add warning about post_event_callback_push (diff)
downloadefl-e434653fc2a23b1841ebbe243f5169813939b178.tar.gz
evas: Ensure post-event cb push is called from an event cb
This rejects calls to evas_post_event_callback_push() that don't originate from inside an input event callback.
Diffstat (limited to 'src/lib/evas/canvas/evas_main.c')
-rw-r--r--src/lib/evas/canvas/evas_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 3a1aa0e63f..fff28b4bc2 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -214,6 +214,7 @@ _evas_canvas_efl_object_constructor(Eo *eo_obj, Evas_Public_Data *e)
e->framespace.w = 0;
e->framespace.h = 0;
e->hinting = EVAS_FONT_HINTING_BYTECODE;
+ e->current_event = EVAS_CALLBACK_LAST;
e->name_hash = eina_hash_string_superfast_new(NULL);
eina_clist_init(&e->calc_list);
eina_clist_init(&e->calc_done);