summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-06-17 19:10:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-06-17 19:10:36 +0200
commitf0361c5ea6fcdc181863286dbe4de36003eccb9d (patch)
treea4f8f65ba9ca7f0b3be61af46b037a83cf69c1a1 /src/options.h
parent5dc616eadfd3e66cb89e9fc22c714c2edd2a77f2 (diff)
toggle_pause: Re-render the image instead of reloading
When the slideshow state is toggled, the info line needs to be redrawn as it may use the %a format specifier (which shows whether the slideshow is running or paused). feh_reload_image does this, but also resets all pan and zoom options and reloads the image from disk. winwidget_render_image only redraws info, caption and similar lines in this case, which is more efficient and does not incur unwanted side-effects.
Diffstat (limited to 'src/options.h')
0 files changed, 0 insertions, 0 deletions