Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reloading of quickly changing files #635

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zsugabubus
Copy link

feh misses some reloads when file is changing too fast.

src/imlib.c Outdated Show resolved Hide resolved
@zsugabubus zsugabubus force-pushed the fix-reload branch 2 times, most recently from 42ad5fe to 53746b0 Compare January 3, 2022 16:59
When file changes on disk, Imlib2's compares cached and actual file
time with second granularity (as returned by __imlib_FileModDate()).

When we do forced reloading, it can be assumed that file has surely
changed externally (not caring about file times) so Imlib2's cache
should be ignored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants