projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31cc570
)
elm_cnp: Break after we found the target we were looking for
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 30 Jun 2014 02:50:56 +0000
(11:50 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Wed, 9 Jul 2014 00:09:16 +0000
(09:09 +0900)
Basic optimization of the search.
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
a9028f4
..
2ce7e3e
100644
(file)
--- 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;