diff --git a/bar/bar.c b/bar/bar.c index f3dfca8..fa11622 100644 --- a/bar/bar.c +++ b/bar/bar.c @@ -240,9 +240,13 @@ bar_expose_section ( static void expose(const struct bar *_bar) { - const struct private *bar = _bar->private; + struct private *bar = _bar->private; pixman_image_t *pix = bar->pix; + begin_expose_mods(&bar->left); + begin_expose_mods(&bar->center); + begin_expose_mods(&bar->right); + pixman_image_fill_rectangles( PIXMAN_OP_SRC, pix, &bar->background, 1, &(pixman_rectangle16_t){0, 0, bar->width_with_border, bar->height_with_border});