mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-28 12:45:40 +02:00
Fix issue with module exposure
This commit is contained in:
parent
a81db4b2ae
commit
6b47b42fe1
1 changed files with 5 additions and 1 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Reference in a new issue