From 26a624a543f2e723550996d76d90ccbb7b954aeb Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 22 Aug 2013 12:59:05 +0200 Subject: Added options for anti-alias & alpha layer coloring to config.def.h Also removed now obsolete -p command line option; fixes issue #98 --- thumbs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 48b3a75..ec6e5ef 100644 --- a/thumbs.c +++ b/thumbs.c @@ -18,6 +18,7 @@ #define _POSIX_C_SOURCE 200112L #define _THUMBS_CONFIG +#define _RENDER_CONFIG #include #include @@ -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) { -- cgit v1.2.3-54-g00ecf