aboutsummaryrefslogtreecommitdiffstats
path: root/etc/CONTRIBUTING.md
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-05-18 17:05:45 +0200
committerNRK <nrk@disroot.org>2023-05-18 17:05:45 +0200
commit4b67816eae77db28db64e5e80d0d99c60e74973f (patch)
tree3e1c92722d27eb7540452bb9ddd8d43394259169 /etc/CONTRIBUTING.md
parent5c6745436fcaca6e92b1a36a4add5aa15d17e164 (diff)
downloadnsxiv-4b67816eae77db28db64e5e80d0d99c60e74973f.tar.zst
fix: loading old frames due to multi-frame cache (#437)
by default imlib2 doesn't check the file's timestamp to avoid disk activity when loading from cache. however, this ends up breaking our autoreload functionality on multi-frame images. the reason why single frame images weren't broken was because `img_load()` calls `imlib_image_set_changes_on_disk()`, which tells imlib2 to check the timestamp before loading from cache. do the same thing for the multi-frame loader as well. additionally add a comment to img_load() explaining what's going on. Closes: https://codeberg.org/nsxiv/nsxiv/issues/436 Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/437 Reviewed-by: eylles <eylles@noreply.codeberg.org>
Diffstat (limited to 'etc/CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions