sxiv

simple X image viewer
git clone git://git.suckless.org/sxiv
Log | Files | Refs | LICENSE

commit 50652f63d99c9ff540fac4c72b0422660bdb3dab
parent e49d38d6f947b11570627b7354641e03f9200cef
Author: Bert M√ľnnich <ber.t@posteo.de>
Date:   Sun, 17 Aug 2014 16:31:16 +0200

Full redraw when removing files during thumbnail reloading; fixes issue #164

Diffstat:
Makefile | 2+-
main.c | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -VERSION = git-20140816 +VERSION = git-20140817 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man diff --git a/main.c b/main.c @@ -684,6 +684,8 @@ void run(void) tns.cnt++; } else { remove_file(tns.loadnext, false); + if (reload) + tns.dirty = true; } while (tns.loadnext < filecnt && tns.thumbs[tns.loadnext].loaded) tns.loadnext++;