diff options
author | Guilherme Freire <41879254+GRFreire@users.noreply.github.com> | 2021-09-11 11:38:22 -0300 |
---|---|---|
committer | Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr> | 2021-09-16 22:55:31 +0300 |
commit | f7557c55b5a87a51daba825ed3f6155eed179221 (patch) | |
tree | eaedd0717e558730b62015740a088ae2ce3e6706 /image.c | |
parent | d8ec6f91a9857fb651f39de7929f17543d1c996c (diff) |
Custom bar colors (#10)
* set bar and text colors independently
* change xresources to Program.class.resource
* rename color variables to win/bar_bg/fg
* change default bar colors to match window colors
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -500,7 +500,7 @@ void img_render(img_t *img) } imlib_image_put_back_data(data); } else { - c = win->bg.pixel; + c = win->win_bg.pixel; imlib_context_set_color(c >> 16 & 0xFF, c >> 8 & 0xFF, c & 0xFF, 0xFF); imlib_image_fill_rectangle(0, 0, dw, dh); } |