mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-28 20:45:41 +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
|
static void
|
||||||
expose(const struct bar *_bar)
|
expose(const struct bar *_bar)
|
||||||
{
|
{
|
||||||
const struct private *bar = _bar->private;
|
struct private *bar = _bar->private;
|
||||||
pixman_image_t *pix = bar->pix;
|
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_image_fill_rectangles(
|
||||||
PIXMAN_OP_SRC, pix, &bar->background, 1,
|
PIXMAN_OP_SRC, pix, &bar->background, 1,
|
||||||
&(pixman_rectangle16_t){0, 0, bar->width_with_border, bar->height_with_border});
|
&(pixman_rectangle16_t){0, 0, bar->width_with_border, bar->height_with_border});
|
||||||
|
|
Loading…
Add table
Reference in a new issue