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:
c883ec1
)
fix comp win geometry updates to always use pixmap size when available
author
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Thu, 18 Apr 2013 09:21:31 +0000
(10:21 +0100)
committer
Mike Blumenkrantz
<m.blumenkran@samsung.com>
Thu, 18 Apr 2013 09:21:31 +0000
(10:21 +0100)
src/bin/e_comp.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp.c
b/src/bin/e_comp.c
index a707d71056e4f8e828813e02b1a50a08ac16c7f3..86eacb7bd14a5276e19d2ef8aad0451c56aeaecc 100644
(file)
--- a/
src/bin/e_comp.c
+++ b/
src/bin/e_comp.c
@@
-483,7
+483,12
@@
_e_comp_win_geometry_update(E_Comp_Win *cw)
if (cw->real_obj)
w = cw->w, h = cw->h;
else if (cw->bd)
- w = cw->bd->w, h = cw->bd->h;
+ {
+ if (cw->pw && cw->ph)
+ w = cw->pw + cw->bd->client_inset.l + cw->bd->client_inset.r, h = cw->ph + cw->bd->client_inset.t + cw->bd->client_inset.b;
+ else
+ w = cw->bd->w, h = cw->bd->h;
+ }
else
w = cw->pw ?: cw->w, h = cw->ph ?: cw->h;
if (cw->zoomobj) e_zoomap_child_resize(cw->zoomobj, w, h);