discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=31d0fd0417ccadaf2a7c03ba26a212defa84cda6

commit 31d0fd0417ccadaf2a7c03ba26a212defa84cda6
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jun 30 18:36:03 2015 -0400

    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;

-- 


Reply via email to