# HG changeset patch # User Thinker K.F. Li # Date 1283396430 -28800 # Node ID 5aca6024b14758c9e47a97ddd67938bb7316b7f0 # Parent 84853c8559cf1910162923824f702a4a3173f732 subtree of root coord can not be skept diff -r 84853c8559cf -r 5aca6024b147 src/redraw_man.c --- a/src/redraw_man.c Thu Sep 02 10:59:02 2010 +0800 +++ b/src/redraw_man.c Thu Sep 02 11:00:30 2010 +0800 @@ -1644,7 +1644,7 @@ /* Add all marked coords into redraw_man_t::zeroing_coords list */ FOR_COORDS_PREORDER(rdman->root_coord, coord) { - if(!coord_is_cached(coord)) + if(!coord_is_cached(coord) || coord_is_root(coord)) continue; /* skip coords that is not cached */ if(!coord_get_flags(coord, COF_TEMP_MARK)) {