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:
a5c00bf
)
allow client pixmap size to be used in place of actual client geom for tiler creation
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 23 Jan 2015 22:20:52 +0000
(17:20 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 23 Jan 2015 22:20:52 +0000
(17:20 -0500)
src/bin/e_comp_object.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_object.c
b/src/bin/e_comp_object.c
index
1f12a3d
..
5ed9485
100644
(file)
--- 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);
}
}