projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a6ac6
)
do not roundtrip for x11 client message DBG if it will not be visible
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 29 Sep 2015 16:53:59 +0000
(12:53 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 29 Sep 2015 17:02:10 +0000
(13:02 -0400)
also free fetched atom name
src/bin/e_comp_x.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_x.c
b/src/bin/e_comp_x.c
index
8cef18f
..
9de09ae
100644
(file)
--- a/
src/bin/e_comp_x.c
+++ b/
src/bin/e_comp_x.c
@@
-2142,7
+2142,14
@@
_e_comp_x_message(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Cl
}
#endif
else
- DBG("missed client message '%s' for %u", ecore_x_atom_name_get(ev->message_type), ev->win);
+ {
+ char *name;
+
+ if (!eina_log_domain_level_check(e_log_dom, EINA_LOG_LEVEL_DBG)) return ECORE_CALLBACK_RENEW;
+ name = ecore_x_atom_name_get(ev->message_type);
+ DBG("missed client message '%s' for %u", name, ev->win);
+ free(name);
+ }
return ECORE_CALLBACK_PASS_ON;
}