fix drawing on hidden bar

This commit is contained in:
sewn 2024-08-30 18:26:13 +03:00
parent c4601b7c5c
commit cda5f21e0d
No known key found for this signature in database

2
dam.c
View file

@ -157,7 +157,7 @@ bar_draw(Bar *bar)
DrwBuf *buf;
Seat *seat;
if (bar->width < 1 || bar->height < 1)
if (!bar->configured)
return;
if (!(buf = bufpool_getbuf(&bar->pool, shm, bar->width, bar->height)))