aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2024-06-05 21:37:46 +0200
committerNRK <nrk@disroot.org>2024-06-05 21:37:46 +0200
commit65acb98396b7eb8e7b22140061c799dbd0de8a3e (patch)
tree1f98ceef33a4382d10d71fcd9a53673aea4e1cc6 /util.c
parenta581cd6344717551c9bacae58809d83ae6979220 (diff)
downloadnsxiv-65acb98396b7eb8e7b22140061c799dbd0de8a3e.tar.zst
fix: unresponsive UI when animation is too fast (#489)
the previous check_timeouts() logic tried to greedily handle as many timeouts as possible until there are no more active timeouts left. this caused a number of issues such as: https://codeberg.org/nsxiv/nsxiv/issues/439 https://codeberg.org/nsxiv/nsxiv-record/issues/281 the new logic relaxes this and only does a single iteration. any remaining active timeout will be picked up by the next iteration instead. Fixes: https://codeberg.org/nsxiv/nsxiv/issues/439
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions