Invalidate cached pixmaps on reload and redraw.

After a reload, the drawing parameters for the decorations might
have changed, so we need to invalidate the cache and force a redraw
of the currently visible decorations. Also, don't leak the previous
font when reloading by freeing it before parsing the config.
This commit is contained in:
Fernando Tarlá Cardoso Lemos
2011-11-23 21:12:36 -02:00
committed by Michael Stapelberg
parent 67c2c03f76
commit 340592a532
5 changed files with 39 additions and 11 deletions

View File

@ -119,7 +119,6 @@ struct deco_render_params {
Rect con_deco_rect;
uint32_t background;
bool con_is_leaf;
xcb_font_t font;
};
/**