fix drawing on hidden bar
This commit is contained in:
parent
c4601b7c5c
commit
cda5f21e0d
1 changed files with 1 additions and 1 deletions
2
dam.c
2
dam.c
|
@ -157,7 +157,7 @@ bar_draw(Bar *bar)
|
||||||
DrwBuf *buf;
|
DrwBuf *buf;
|
||||||
Seat *seat;
|
Seat *seat;
|
||||||
|
|
||||||
if (bar->width < 1 || bar->height < 1)
|
if (!bar->configured)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!(buf = bufpool_getbuf(&bar->pool, shm, bar->width, bar->height)))
|
if (!(buf = bufpool_getbuf(&bar->pool, shm, bar->width, bar->height)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue