openbsd-ports/graphics/feh/patches/patch-src_events_c

17 lines
692 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_events_c,v 1.1 2011/09/09 09:51:43 dcoppa Exp $
feh_reload_image: fix regression of old caching issue
(upstream git commit 04690171c47c99e584fe1ae9d5ebed913ac5ba99)
--- src/events.c.orig Mon Sep 5 11:00:25 2011
+++ src/events.c Fri Sep 9 11:30:03 2011
@@ -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)