# HG changeset patch # User Thinker K.F. Li # Date 1261462894 -28800 # Node ID dcf4673896f45922844e432382d5d371f7e65891 # Parent c3fe9e4bdec137d9af9a046c23bd8556934b63b2 Skip very small dirty areas. diff -r c3fe9e4bdec1 -r dcf4673896f4 src/redraw_man.c --- a/src/redraw_man.c Tue Dec 22 11:04:52 2009 +0800 +++ b/src/redraw_man.c Tue Dec 22 14:21:34 2009 +0800 @@ -2039,6 +2039,8 @@ mbe_new_path(cr); for(i = 0; i < n_dirty_areas; i++) { area = dirty_areas[i]; + if(area->w < 0.1 || area->h < 0.1) + continue; mbe_rectangle(cr, area->x, area->y, area->w, area->h); } mbe_clip(cr);