diff options
author | Arthur Williams <taaparthur@gmail.com> | 2021-09-19 01:49:56 -0700 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2021-10-10 02:17:50 +0600 |
commit | 675db4bbb646ff51cc3ecc8ba7d587670872580a (patch) | |
tree | f0536022677edf2968f770a0dc67a02e074d8b69 /image.c | |
parent | 6ce94e3e3b8cccab0a5cc23c7538ad19626c1c1d (diff) |
Make statusbar optional (#95)
libXft and libfontconfig are now optional dependencies which can be
disabled via `HAVE_LIBFONTS=0`. Disabling them means disabling the
statusbar. This also does not search for freetype2 header if disabled.
Co-authored-by: NRK <nrk@disroot.org>
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -643,7 +643,7 @@ void img_render(img_t *img) } imlib_image_put_back_data(data); } else { - c = win->win_bg.pixel; + c = win->win_bg; imlib_context_set_color(c >> 16 & 0xFF, c >> 8 & 0xFF, c & 0xFF, 0xFF); imlib_image_fill_rectangle(0, 0, dw, dh); } |