diff options
author | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
commit | 26a624a543f2e723550996d76d90ccbb7b954aeb (patch) | |
tree | 8799c977b965656ccea3c9ec14c7ba00f0204a0f /thumbs.c | |
parent | fb6e4bdd980f72082a264894c12ed7e0650a5bf9 (diff) | |
download | nsxiv-26a624a543f2e723550996d76d90ccbb7b954aeb.tar.zst |
Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
Diffstat (limited to 'thumbs.c')
-rw-r--r-- | thumbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ #define _POSIX_C_SOURCE 200112L #define _THUMBS_CONFIG +#define _RENDER_CONFIG #include <stdlib.h> #include <string.h> @@ -177,7 +178,7 @@ void tns_init(tns_t *tns, int cnt, win_t *win) tns->cap = cnt; tns->cnt = tns->first = tns->sel = 0; tns->win = win; - tns->alpha = true; + tns->alpha = !RENDER_WHITE_ALPHA; tns->dirty = false; if ((homedir = getenv("HOME")) != NULL) { |