Fix race conditions

This commit is contained in:
Kyle Gunger 2023-01-22 19:08:53 -05:00
parent 050439f0d3
commit a81c7f6e3c
5 changed files with 19 additions and 30 deletions

View file

@ -67,6 +67,7 @@ exposable_render_deco(const struct exposable *exposable,
pixman_image_t *pix, int x, int y)
{
const struct deco *deco = exposable->particle->deco;
if (deco != NULL)
deco->expose(deco, pix, x, y, exposable->width, exposable->height);