From 04690171c47c99e584fe1ae9d5ebed913ac5ba99 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Sep 2011 22:21:09 +0200 Subject: feh_reload_image: Fix regression of old caching issue (closes #63) This was broken by the changes allowing --reload to retry ad infinitum. Now force_new is used to decide whether or not to work around the Imlib2 caching issue. Because of this, a few feh_reload_image calls needed to be changed. --- src/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/events.c') diff --git a/src/events.c b/src/events.c index c0b1269..def4651 100644 --- a/src/events.c +++ b/src/events.c @@ -114,7 +114,7 @@ static void feh_event_handle_ButtonPress(XEvent * ev) - winwid->im_y) / winwid->old_zoom; } else if (ev->xbutton.button == opt.reload_button) { D(("Reload Button Press event\n")); - feh_reload_image(winwid, 0, 0); + feh_reload_image(winwid, 0, 1); } else if (ev->xbutton.button == opt.prev_button) { D(("Prev Button Press event\n")); if (winwid->type == WIN_TYPE_SLIDESHOW) -- cgit v1.2.3