efl_ui_widget: optimize focus
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 4 Jul 2019 13:24:22 +0000 (15:24 +0200)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 10 Jul 2019 02:08:14 +0000 (11:08 +0900)
commit56015ac19b4e58da56bf5cd375a97f064e15f93c
tree00f5aabc7e0eb0e1032d48b6f9f49d037777a28f
parent464c1703e5642abc01d83e7b4918f5732c0d2c45
efl_ui_widget: optimize focus

this commit ensures 2 things:
1. This ensures that the parent is not evaluated when there was no state
changed, this cuts down roughly 30% of the calls to full_eval
2. This ensures that we only listen to parent manager changes when we
are actaully registered. This reduces the amount spend in event emission
a lot.
src/lib/elementary/efl_ui_widget.c