This commit is contained in:
akokshar@redhat.com 2017-08-29 11:19:43 +02:00
parent 7553103e34
commit 65022e1cbf
5 changed files with 138 additions and 10 deletions

View file

@ -94,6 +94,9 @@ static void render_block(struct window *window, struct config *config, struct st
double pos = *x;
block->x = (int) pos;
block->width = (int) block_width;
// render background
if (block->background != 0x0) {
cairo_set_source_u32(window->cairo, block->background);