Mercurial > MadButterfly
diff src/X_supp.c @ 270:cd6af7da32c9
Fix the problem that clean_canvas() can not clean canvas cleanly.
- For some unknown reasons, cairo_paint() can not clean painted
graphics cleanly.
- Use cairo_rectangle() and cairo_fill() to replace cairo_paint().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 25 Jan 2009 16:07:43 +0800 |
parents | b42ee279669e |
children | b391722bf20e |
line wrap: on
line diff
--- a/src/X_supp.c Sun Jan 25 00:20:34 2009 +0800 +++ b/src/X_supp.c Sun Jan 25 16:07:43 2009 +0800 @@ -449,6 +449,8 @@ // to get the xmb_rt->tman for the animation. We should relocate the tman // to the redraw_man_t instead. xmb_rt->rdman->rt = xmb_rt; + xmb_rt->rdman->w = w; + xmb_rt->rdman->h = h; xmb_rt->tman = mb_tman_new();