summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-14 09:29:50 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-14 09:29:50 -0400
commitb1a2d82417e5c1bbd89835c63b84c500e313df5b (patch)
treef7a99cbf2012d5645952ffd14582af936e3f362e /src/lib/edje/edje_calc.c
parentf174bf2eb23c4353f907e991ab871b5f191de48e (diff)
edje: block "recalc" event emission if it isn't being subscribed to
Summary: this gets called a ton ref T8321 Depends on D10356 Reviewers: bu5hm4n, cedric Reviewed By: bu5hm4n, cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8321 Differential Revision: https://phab.enlightenment.org/D10357
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 174033c925..091a27e3ad 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -1043,7 +1043,7 @@ _edje_recalc_do(Edje *ed)
1043#endif 1043#endif
1044 if (!ed->calc_only) 1044 if (!ed->calc_only)
1045 { 1045 {
1046 if (ed->recalc_call) 1046 if (ed->recalc_call && ed->has_recalc_event_cb)
1047 efl_event_callback_legacy_call(ed->obj, EFL_LAYOUT_EVENT_RECALC, NULL); 1047 efl_event_callback_legacy_call(ed->obj, EFL_LAYOUT_EVENT_RECALC, NULL);
1048 } 1048 }
1049 else 1049 else