aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_main.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-06-04 16:42:39 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-06-04 16:42:39 +0000
commiteaedf88d4dbc8f9cb971b9e0d6c7826c833575b7 (patch)
treec1825a07970962471d607630424f19a69212ffb9 /legacy/evas/src/lib/canvas/evas_main.c
parentTheir should be no direct modification of Evas_Object changed flag. (diff)
downloadefl-eaedf88d4dbc8f9cb971b9e0d6c7826c833575b7.tar.gz
Fix osbcuring case with evas_render cache.
SVN revision: 34737
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_main.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_main.c b/legacy/evas/src/lib/canvas/evas_main.c
index 113f141806..27b3ce6ed8 100644
--- a/legacy/evas/src/lib/canvas/evas_main.c
+++ b/legacy/evas/src/lib/canvas/evas_main.c
@@ -68,6 +68,8 @@ evas_new(void)
evas_array_setup(&e->restack_objects, 16);
evas_array_setup(&e->render_objects, 16);
evas_array_setup(&e->pending_objects, 16);
+ evas_array_setup(&e->obscuring_objects, 16);
+ evas_array_setup(&e->temporary_objects, 16);
return e;
}
@@ -97,6 +99,7 @@ evas_free(Evas *e)
if (e->walking_list > 0) return;
del = 1;
e->walking_list++;
+ e->cleanup = 1;
while (del)
{
del = 0;
@@ -172,6 +175,8 @@ evas_free(Evas *e)
evas_array_flush(&e->restack_objects);
evas_array_flush(&e->render_objects);
evas_array_flush(&e->pending_objects);
+ evas_array_flush(&e->obscuring_objects);
+ evas_array_flush(&e->temporary_objects);
e->magic = 0;
free(e);
@@ -368,6 +373,7 @@ evas_output_size_set(Evas *e, int w, int h)
e->output.changed = 1;
e->output_validity++;
e->changed = 1;
+ evas_render_invalidate(e);
}
/**