From 31d0fd0417ccadaf2a7c03ba26a212defa84cda6 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 30 Jun 2015 18:36:03 -0400 Subject: [PATCH] add debug info when x11 client messages are missed --- src/bin/e_comp_x.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 6c3279f..12e7cae 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1931,7 +1931,11 @@ _e_comp_x_message(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Cl E_Client *ec; ec = _e_comp_x_client_find_by_window(ev->win); - if (!ec) return ECORE_CALLBACK_RENEW; + if (!ec) + { + DBG("missed client message '%s' for %u", ecore_x_atom_name_get(ev->message_type), ev->win); + return ECORE_CALLBACK_RENEW; + } if (ev->message_type == ECORE_X_ATOM_NET_WM_WINDOW_OPACITY) { ec->netwm.fetch.opacity = 1; -- 2.7.4