From 6b47b42fe1792527a1edd44af74a7a82e7d1c78f Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 23 Jan 2023 02:15:09 -0500 Subject: [PATCH] Fix issue with module exposure --- bar/bar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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});