discomfitor pushed a commit to branch master.

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

commit b0a9d6400059d4a0825a32e2c78c0d426dd583be
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jan 23 17:20:52 2015 -0500

    allow client pixmap size to be used in place of actual client geom for 
tiler creation
---
 src/bin/e_comp_object.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 1f12a3d..5ed9485 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1396,7 +1396,12 @@ _e_comp_intercept_show(void *data, Evas_Object *obj 
EINA_UNUSED)
 
         if ((!cw->ec->input_only) && (!cw->ec->ignored))
           {
-             cw->updates = eina_tiler_new(cw->ec->client.w, cw->ec->client.h);
+             int w, h;
+
+             w = cw->ec->client.w, h = cw->ec->client.h;
+             if ((!w) || (!h))
+               e_pixmap_size_get(cw->ec->pixmap, &w, &h);
+             cw->updates = eina_tiler_new(w, h);
              eina_tiler_tile_size_set(cw->updates, 1, 1);
           }
      }

-- 


Reply via email to