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 --- commands.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index 501a938..09ba926 100644 --- a/commands.c +++ b/commands.c @@ -74,8 +74,10 @@ bool it_quit(arg_t a) bool it_switch_mode(arg_t a) { if (mode == MODE_IMAGE) { - if (tns.thumbs == NULL) + if (tns.thumbs == NULL) { tns_init(&tns, filecnt, &win); + tns.alpha = img.alpha; + } img_close(&img, false); reset_timeout(reset_cursor); tns.sel = fileidx; -- cgit v1.2.3-54-g00ecf