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:
0d9e034
)
oooh and free rects before getting!
author
Carsten Haitzler
<raster@rasterman.com>
Sun, 21 Feb 2010 16:15:59 +0000
(16:15 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Sun, 21 Feb 2010 16:15:59 +0000
(16:15 +0000)
SVN revision: 46346
src/modules/comp/e_mod_comp.c
patch
|
blob
|
history
diff --git
a/src/modules/comp/e_mod_comp.c
b/src/modules/comp/e_mod_comp.c
index
92eab53
..
669b93c
100644
(file)
--- a/
src/modules/comp/e_mod_comp.c
+++ b/
src/modules/comp/e_mod_comp.c
@@
-433,6
+433,12
@@
_e_mod_comp_win_update(E_Comp_Win *cw)
{
if (cw->shape_changed)
{
+ if (cw->rects)
+ {
+ free(cw->rects);
+ cw->rects = NULL;
+ cw->rects_num = 0;
+ }
ecore_x_pixmap_geometry_get(cw->win, NULL, NULL, &(cw->w), &(cw->h));
cw->rects = ecore_x_window_shape_rectangles_get(cw->win, &(cw->rects_num));
if (cw->rects)