sachiel pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=14c7e58a292c787b8fd1bf07e5a1500143b376ed

commit 14c7e58a292c787b8fd1bf07e5a1500143b376ed
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Feb 17 16:14:55 2014 -0500

    improve infos for e_comp_util_wins_print()
---
 src/bin/e_comp.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index cc47cf4..66c286f 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1567,9 +1567,11 @@ e_comp_util_wins_print(const E_Comp *c)
         evas_object_geometry_get(o, &x, &y, &w, &h);
         fprintf(stderr, "LAYER %d  ", evas_object_layer_get(o));
         if (ec)
-          fprintf(stderr, "COMP EC%s:  %p - '%s:%s' || %d,%d @ %dx%d\n", 
ec->focused ? "*" : "", ec, ec->icccm.name, ec->icccm.class, x, y, w, h);
+          fprintf(stderr, "EC%s%s:  %p - '%s:%s' || %d,%d @ %dx%d\n",
+                  ec->override ? "O" : "", ec->focused ? "*" : "", ec,
+                  e_client_util_name_get(ec) ?: ec->icccm.name, 
ec->icccm.class, x, y, w, h);
         else
-          fprintf(stderr, "COMP OBJ: %p - %s || %d,%d @ %dx%d\n", o, 
evas_object_name_get(o), x, y, w, h);
+          fprintf(stderr, "OBJ: %p - %s || %d,%d @ %dx%d\n", o, 
evas_object_name_get(o), x, y, w, h);
         o = evas_object_below_get(o);
      }
    fputc('\n', stderr);

-- 


Reply via email to