Fix issue with module exposure

This commit is contained in:
Kyle Gunger 2023-01-23 02:15:09 -05:00
parent a81db4b2ae
commit 6b47b42fe1

View file

@ -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});