jpeg pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=6805e484a2c95ec2ec3cbd18fd859d278e0705e4
commit 6805e484a2c95ec2ec3cbd18fd859d278e0705e4 Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Mon Jun 30 11:50:56 2014 +0900 elm_cnp: Break after we found the target we were looking for Basic optimization of the search. --- src/lib/elm_cnp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c index a9028f4..2ce7e3e 100644 --- a/src/lib/elm_cnp.c +++ b/src/lib/elm_cnp.c @@ -632,6 +632,7 @@ _x11_selection_notify(void *udata EINA_UNUSED, int type EINA_UNUSED, void *event _x11_atoms[i].notify(sel, ev); } else cnp_debug("Ignored: No handler!\n"); + break; } } return ECORE_CALLBACK_PASS_ON; --